Notifications
Announcements
No record found.
Hi, i wanna ask how to create filter in web api using optionset field.i tried this but its not working.
var Filter = "&$filter=_new_opportunityid_value eq " opti_id " and new_gradegroup/Value eq " 100000000 "";
you don't need to write /Value when filtering optionsets, so in your example will be
var Filter = "&$filter=_new_opportunityid_value eq "+opti_id+" and new_gradegroup eq 100000000";
Hi,
As mentioned by Guido Preite you don't need /Value.
You can easily generate your queries using fetchXml builder, please refer to the image below:
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 70 Super User 2025 Season 2
Gerardo RenterÃa Ga... 33 Most Valuable Professional
Daniyal Khaleel 32 Most Valuable Professional