COVID-19 UPDATE- Our teams are safe and delivering value 100% remote. We are ready to support your business needs during the pandemic. Tell us how

By: admin

Developers Corner May 1, 2014


 

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.

 

Comments

  1. Mahagun says:

    Good to read this informative piece. Thanks for sharing.

Leave a Reply

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

ten − 4 =