Can i use a Multi-select option set value form one form and populate it in a another form( in another entity ) using JavaScript?
Any help is greatly appreciated.
*This post is locked for comments
Can i use a Multi-select option set value form one form and populate it in a another form( in another entity ) using JavaScript?
Any help is greatly appreciated.
*This post is locked for comments
Hi Kalana,
Rest builder provides you the code which you can use in your JS library and call it accordingly. Are you looking for something else?
As mentioned above, it doesn't seem possible to select the multiselect optionset value using api.
Hope this helps.
Thank you Ravi, if any one able to share code snippet of using REST API for JavaScript development in CRM , i would really appreciate that.
Hi Kalana,
It does look like a limitation of multi select along with several other mentioned in the below blog-
nishantrana.me/.../limitations-of-multi-select-option-sets-in-dynamics-365-ce
Hope this helps
Thank you all for replying, i was using CRM Rest Builder and im using "Retrieve Single" Action with a custom entity as a primary entity, what im trying to do here is get a value of Multi select option set and that field is not showing as an option in "fields to select", i couldn't find the multi-select Option-set. IDK maybe we cant create a REST API for Multi select option set, any thoughts ?
Yes, it does work. In fact if you look into the screenshot it has picked up your current CRM version which is 9.0.2.761 :)
Yes it will work with your deployment.
Thank you so much for responding Goutam, Rest Builder seems awesome, only question i have is does CRM Rest builder working with CRM version 9.0 ?
it says v0.0.2.761 and that is my CRM version , hope this will work fine.
Hi Kalana,
Please refer below aritcle -
carldesouza.com/dynamics-crm-rest-builder
community.dynamics.com/.../dynamics-365-v9-0-set-multi-select-option-set-values-using-jscript
Thanks! for the respond Ravi, im good with JS but new to CRM development, so if you could give me some example of how to get this done, i would immensely appreciate that
Yes you can. The value of the multi select option set is stored againt the entity record so you first need to write the JS[Web API] to retrieve the value for the record and then set it in the multiselect on your target entity..
Please use CRM Rest Builder to build the WEB API request. This is the easiest way to build the query as well as execute it and see the results.
www.toplinestrategies.com/.../crm-rest-builder-useful-tool-working-crm-2016’s-web-api
Hope this helps.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156