Tip #1306: Business rules do not work on editable grid

Today’s tip is from Eric Regnier. Got a tip? Send it to jar@crmtipoftheday.com (and don’t forget to include either your Twitter handle or LinkedIn profile link for the eternal appreciation link) Do you know that business rules (scope = entity) work on editable grids? Pick one of the following answers: Nope didn’t know but will […]

Tip #1159: Run your script after business rules

Queue

Dynamics 365/CRM customizations inflicted by a customer are always fun. How can I tell their customizations apart? Easy, by the new_ prefix. Where things get really complicated if the customer later asks you to do something they are not sure how to. Just recently I was asked to stop couple fields from being locked if […]

Tip #597: Tipster guide to Creating Business Rules Based on Business Process Flows

Robinson Crusoe & Friday

Friday. ‘Nuff said. Dynamics CRM 2016 introduced a new feature that allows you to create Business Rules, that can execute based on Business Process Flows. Here we show you how to configure this option. If you prefer reading, this non-animated version will guide you through. Give us your feedback, all of it: good, bad, and […]

Tip #574: Hidden sources of javascript errors

Quite often developers complain about getting javascript errors when the form does not contain any scripts or events. Explicit script definitions are not the only source of the possible errors: Business Rules are deployed on the client as generated javascript. While it’s unlikely that business rules will generate an erroneous script, it’s worthwhile disabling the […]

Tip #471: What will stop your form from closing

Failed import using business rule

tl;dr Setting data validation error on the form level with Xrm.Page.ui.setFormNotification call will NOT stop form from closing, setting errors on individual controls with Xrm.Page.getControl(arg).setNotification, on the other hand, will. To achieve even better results, use business rule instead of the javascript. Slightly longer version Friend of mine pinged me to help with the script […]