Caml Query: How to add additional parameters? -
i have working query, want add additional parameters on query, such as:
<or> <eq><fieldref name="service_x0020_line" /><value type="choice">rpcs</value></eq> <eq><fieldref name="service_x0020_line" /><value type="choice">plm</value></eq> </or>
how able add here?:
<and> <or> <or> <eq><fieldref name='bm_x0020_status' /><value type='choice'>completed</value></eq> <eq><fieldref name='bm_x0020_status' /><value type='choice'>not yet submitted</value></eq> </or> <eq><fieldref name='bm_x0020_status' /><value type='choice'>for approval</value</eq> </or> <eq><fieldref name='approval_x0020_month' /><value type='text'>"+approvalmonth+"</value></eq> </and>
<and> <and> <or> <or> <eq><fieldref name='bm_x0020_status' /><value type='choice'>completed</value></eq> <eq><fieldref name='bm_x0020_status' /><value type='choice'>not yet submitted</value></eq> </or> <eq><fieldref name='bm_x0020_status' /><value type='choice'>for approval</value</eq> </or> <or> <eq><fieldref name="service_x0020_line" /><value type="choice">rpcs</value></eq> <eq><fieldref name="service_x0020_line" /><value type="choice">plm</value></eq> </or> </and> <eq><fieldref name='approval_x0020_month' /><value type='text'>"+approvalmonth+"</value></eq> </and>
Comments
Post a Comment