If you're considering a switch from Salesforce to Microsoft, you probably have some questions. For instance, what should you consider from a business planning perspective to ensure your transition is as hassle free as possible?
The Microsoft Dynamics CRM 2013 release is a few short months away, and it will come with some great new features. In this blog we'll discuss one of these new features—portable business logic. Then we'll show how you can use it to create rules that hide and show fields on a form.
Portable business logic allows you to define business rules for each record type. You can use it to do any of the following:
You can set all of these actions to occur based on conditions you set in the business rule. Conditions can be based on one of the following:
In previous version of CRM, you would have to know JavaScript to do these things. Now you can define these business rules through a configuration tools, and CRM 2013 creates the JavaScript for you. The reason these business rules are referred to as "portable business logic" is because the rules can be used on multiple forms once they are created (such as in the user of role based forms for an entity).
Let's take a look at an example of how this works. In this scenario, we want two custom fields—Role with Vendor and Priority—to show if a Contact is of Relationship Type Vendor.
We already have the two custom fields added to the form with their visibility disabled. Now we just need to setup the new Business Rule. Use the following steps create a new Business Rule for the Contact:
NOTE: Keep in mind you may need to create inverse Business Rules to hide the fields if a different value is selected. In this case, you may want to make sure the 'Role with Vendor' and 'Priority' fields stay hidden if a different 'Relationship Type' is selected. Here would be the appropriate business rule:
There you go! Showing and hiding fields is now much simpler to implement using the new business rules.
If this was helpful, you can also check out our other blogs and resources for Microsoft Dynamics CRM 2013.
Happy CRM'ing!
Is it possible to show/hide entire sections, tabs or subgrids?
Possible, u can try jquery to remove option, and problem Xrm.Page not exist command.