- July 04, 2022
- In Dataverse, Dynamics 365, Dynamics 365 Sales, Power Platform
- No Responses
This blog will talk about the new client script methods that can enhance UI/UX experience.
This method adds an option to your choice/choices control.
formContext.getControl(arg).addOption(option, index);
Removes an option from a choice/choices control.
formContext.getControl(arg).removeOption(value);
Clears all options from a choice/choices control.
formContext.getControl(arg).clearOptions();
Sets the focus on the control.
formContext.getControl(arg).setFocus();
Sets the label of the control.
formContext.getControl(arg).setLabel(label);
Adds an event handler to the OnLookupTagClick event.
OnLookupTagClick:- This event occurs when the user clicks the tag in a lookup control.
formContext.getControl(arg).addOnLookupTagClick(myFunction);
Provides all the information to create side panes.
Xrm.App.sidePanes.createPane(paneOptions);
Click here to learn more about paneOptions
Let started with our D365 Quickstart package and get onboard within 7 days!
I'M INTERESTED!