Back to Basics # 64: Get SubGird Record Count with Webresource in Dynamics CRM

Introduction: During certain scenarios we must get total records count present in a sub grid. To achieve this functionality explicit logic should be written using JavaScript with form controls that are available on the form. Contact form with account sub grid was required and Contact record was used to explain this functionality. Step 1: Login …

Continue reading Back to Basics # 64: Get SubGird Record Count with Webresource in Dynamics CRM

Back to Basics # 63: Make All Form Fields as Read-only with Webresource in Dynamics CRM

Introduction: During certain scenarios we must make all CRM form fields as read-only. To achieve this functionality explicit logic should be written using JavaScript with form controls that are available on the form. Contact form was used to show this functionality. Step 1: Login to the required environment and select required solution [Contact Customizations Solution …

Continue reading Back to Basics # 63: Make All Form Fields as Read-only with Webresource in Dynamics CRM

Back to Basics # 62: Retrieve Environment Variable Value with Webresource in Dynamics CRM

Introduction: Applications often require different configuration settings or input parameters when deployed to different environments. Environment variables store the parameter keys and values, which then serve as input to various other application objects. Separating the parameters from the consuming objects allows you to change the values within the same environment or when you migrate solutions …

Continue reading Back to Basics # 62: Retrieve Environment Variable Value with Webresource in Dynamics CRM