enter image description here

I have a Dropdown list, I want to pass selected value of this dropdown to caml query. Please suggest solutions for this SharePoint online query.


Try this query below :

var queryString = "<View><Query><Where><Eq><FieldRef Name='Department'/><Value Type='Choice'>" + sel + "</Value></Eq></Where></Query></View>";
  • @SPUser2017 Please don't forget to accept the correct answer in case it helped you! – Mohamed El-Qassas MVP Jan 27 '18 at 9:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.