Form load event usage
In this recipe, we will focus on executing a few operations triggered by the form load event. We can check the value of a specific field on the form, and based on that we can decide to hide a tab, hide a field, and prepopulate a text field with a predefined value.
Getting ready...
Just as with any of the previous recipes, you will need access to an environment, and permissions to make customizations. You should be a system administrator, a system customizer, or a custom role configured to allow you to perform the following operations.
How to do it...
For the purpose of this exercise, we will add to the Contact entity a new tab called "Special Customer", with some additional custom fields. We will also add an option set that we ...
Get Microsoft Dynamics CRM 2011 Scripting Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.