How to construct CAML Query for an Array of Strings?

By: admin



 

Here is a simple function for constructing CAML Query if you have an array of strings. It is particularly helpful if the number of values(ie array length) is not constant.

 

PHP1

 

If you want to create dynamic CAML query in JS, you can use below methods:

Helper method:PHP2

 

PHP3

 

PHP4

 

PHP5

 

PHP6

 

Posted By-

Satyam Kumar

 

Disclaimer: Developer’s Corner Section of ISHIR blog is contributed and maintained by independent developers. The content herein is not necessarily validated by ISHIR.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

6 + 1 =

Help desk software