Dynamics 365 – JavaScript Snippets

Some code snippets (JavaScript)¬†for D365 Customer Engagement v9 to make developer life easy. ūüôā ūüôā¬† You can download extension from¬†Visual Studio Marketplace¬†or install directly from VS Code. D365 JavaScript Snippets –¬†Solution Courtesy – Arsen Aghajanyan Solution released and last updated on – 9th March, 2019. If you enjoyed this post, I‚Äôd be very grateful if … More Dynamics 365 – JavaScript Snippets

SSRS Report Adding Blank Pages when Exported to PDF – Visual Studio 2015

Some of you might have experienced issue with SSRS report adding blank pages while working in Visual Studio.¬† In Visual Studio, Report Preview shows everything well formatted as you want but when you upload the RDL file back in CRM and send PDF (via Report Scheduling) then it adds blank pages to it. I tried … More SSRS Report Adding Blank Pages when Exported to PDF – Visual Studio 2015

CRM 2016 SSRS Issue: RDL Upload Error Visual Studio 2015

Recently, I faced an issue while uploading RDL file in CRM 2016 (On-Premise) after minor layout changes using Visual Studio 2015. I downloaded the log file and found that Reporting Services was referring to 2016 SQL Server . Error Details – The definition of this report is not valid or supported by this version of … More CRM 2016 SSRS Issue: RDL Upload Error Visual Studio 2015

CRM 2016 on-Premise Issue – Export to Excel File Contains Apostrophes using Chrome browser

Recently, I’ve faced an issue with export excel feature in CRM 2016 On-Premise using Chrome browser (Version 72.0.3626.109 – 64-bit). There’re few blogs recommending temp workaround. Hovenj – https://hovenj.blogspot.com/2019/02/dynamics-365-on-premises-chrome-72.html Dynamics Community Blog – https://community.dynamics.com/crm/f/117/t/309197 Please note that this issue is also affecting D365. Recent update from Microsoft –¬†2/19/2019:¬†Microsoft plans to release to on-premises, in¬†8.2.3.249,¬†on March … More CRM 2016 on-Premise Issue – Export to Excel File Contains Apostrophes using Chrome browser

JavaScript to Count Total Number of Sub-grid Records and add value in the field

This blog is all about getting the total number of records in the Sub-grid using JavaScript. Here is a quick code to count the number of related sub-grid records on a form onload and onSave. /** * @brief A function to count number of records in the Sub-grid and add value to the field * … More JavaScript to Count Total Number of Sub-grid Records and add value in the field

Update Child Record When Parent Record is Updated – Using Plugin

In this blog we are going to learn how to update Child Record when Parent Record¬† is updated using plugin.¬† In my scenario, plugin¬†will update the Mobile & Telephone number fields (free text fields) on the Opportunity record (associated to Contact\Account) when Mobile and Telephone fields are updated Account or Contact. Development¬†Tools – VS Studio … More Update Child Record When Parent Record is Updated – Using Plugin

Display Save Button on CRM Entities Ribbon – Post Save

I had an requirement, to show Save button after creating new records. In other words, to display Save button on form ribbon for existing records. In CRM 2016, out of the box Save button on the form ribbon hides after saving record.¬†Please note that I’m not talking about the save button available on the down … More Display Save Button on CRM Entities Ribbon – Post Save