CRM2013/2015 - Do you use CRM Business Rules to automate forms?
Last updated by Brady Stroud [SSW] 8 months ago.See historyPrior to CRM 2013 if a CRM user wanted to:
- Show an error message
- Set a field value
- Set business required
- Set field visibility (show/hide fields)
- Lock or unlock a field
They would normally need to get a CRM developer involved to write JavaScript code to automate these actions.
Starting with CRM 2013 (and much improved in CRM 2015), users can now use Business Rules to automate these actions without getting a CRM developer involved.
Take the following Example:
To make this work use the following Business Rules:
The flip side of the expression also needs to be set where Customer Type doesn’t equal Other to hide the ‘Customer Type Other’ field (you could also optionally clear this field too)
Finally the last step is to Activate the Business Rules. To activate click the activate button on the top right of the tool bar.
Now the form will look like this:
Note: CRM 2015 further improves on this by introducing the if… else… construct, so instead of creating two business rules (one for show and one for hide), this rule can be reduced to just one.