We do not ever assign a case to a user so my users have to change the Assign to a User or team option from user to team every time.
Apparently, system option sets cannot be changed. Is this true?
Anyone know if one might create an alternate Assign button on the Ribbon? any tips in that regard would be welcome .
working function
Hello,
If my reply (or replies) answers your question take a minute and verify the answer. You can do it by clicking "Yes" at the top of the reply (or replies) under the label "Does this answer your question?"
formContext.getAttribute("ownerid").setValue([{ entityType: "team", id: success[0].id, name: success[0].name }]);
Ok. created new ribbon button that calls a js web resource. the lookup displays and works as it should returning the (Team) id, name etc.
When I try to update the ownerid of the Case table with:
formContext.getAttribute("ownerid").setValue(success[0].id);
it does not set the owernid. after js is complete owner id has been blanked out.
success[0].id was returned as a GUID as expected
Thoughts? advice?
Hello,
Unfortunately, that dialog is not customizable. Here is what you might do:
1. Develop a JavaScript that will open the "team" lookup selector using Xrm.Utility.lookupObjects and using received team id perform the assignment of the record passed as a parameter to your script.
2. Hide OOB Assign button and add your own using Ribbon Workbench or using new OOB maker experience.
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