Hello all,
This is my issue :
When a user selects an option for which he does not have the authorizations, an error message appears as an alert (it's okay up here).
Then, I would like another optionset to be selected to replace the one the user has chosen.
This is the codes I have tried but that didn't work for me :
Xrm.Page.getAttribute("NameOfMyField").setValue(null); //Here I have even tried to replace the null value by the one of another optionset like ("860330002") but unsuccessfull
I've tried as well : Xrm.Page.Data.Entity.Attributes.Get("nameofmyfield").setValue(null); //Did not work for me as well
Need support ASAP to solve an issue for a customer.
Thanks