0

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.

1 Answer 1

1

Try this query below :

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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