it gives an error
One of the scripts for this record has caused an error. For more details, download the log file.
Error: parameter is not passed or parameter is nNull or undefined at Function.Error.create
Hi Muhammad Bilal,
Have you considered adding and removing options from the field customisation screen?
Hi Ben,
Thanks for your response,
i have already looked this solution. but my issue is, i want to remove all selected and unselected options and add new ones. Options can be removed but the selected values still remain in the Multiselect Input, when i click on Multiselect, it shows nothing in the drop-down but after closing the drop down the previously selected values appear again there.
It's worth looking at https://community.dynamics.com/crm/b/vikranthpandirihowtoseries/archive/2017/11/04/dynamics-365-v9-0-set-multi-select-option-set-values-using-jscript for how to add and remove values in a multi-select optionset.
Note that all the examples use formcontext rather than Xrm.Page as multi-select optionsets are new functionality and Xrm.Page was deprecated...
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,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156