Try Microsoft Edge
A fast and secure browser that's designed for Windows 10
For the latest updates to this post please visit the original posting here: Creating Unique Behavior on Role-Based Forms in Dynamics CRM 2011
In order to use the form name in Microsoft Dynamics CRM 2011, you use this element as a base.
var item = Xrm.Page.ui.formSelector.getCurrentItem();
if (item.getLabel() == "[Specific Form Name]")
// Your desired changes
From there, you can customize your form on demand as needed, such as setting different fields to be required or pre-populating some information so that users don’t have to.
Now, if you want to change the functions of the ribbon instead, you can combine this with Tooltips for Disabled Ribbon Buttons in CRM 2011 and have even more ability for customization and adding your own buttons to each form.
The post Creating Unique Behavior on Role-Based Forms in Dynamics CRM 2011 appeared first on PowerObjects.