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! Commented 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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.