Tag Archives: MS Dynamics CRM 2016

Filter N:N Sub-Grid in Dynamics 365 without Custom Actions


Below code is for only N:N Relationship Sub-Grids. Copy the below code and register on OnLoad event of the Parent Entity Form on which the Sub-Grid exists. Replace the <Sub-Grid Name>, <Form Lookup Field Name>,¬†new_testingid, <Schema name of the Related … Continue reading

Posted in Dynamics 365, HTML, JavaScript, MS Dynamics 365, MS Dynamics CRM 2016 | Tagged , , , , , , , , , , , , , , , , , , , , , , , , | 2 Comments

Generate the Word Document in JavaScript using Word Templates


Pre-Requisites: Add XRMServiceToolKit Library (Click Here) Add Process Helper Library (Click Here) Follow the Steps below. //Fetch XML for Getting the ID of Document Template var templateName = “Testing Template”; var fetchXml = “<fetch version=’1.0′ output-format=’xml-platform’ mapping=’logical’ distinct=’false’>” + “<entity … Continue reading

Posted in CRM, Dynamics 365, Java Script, JavaScript, Ms Dynamics CRM 2013, MS Dynamics CRM 2015, MS Dynamics CRM 2016 | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Unable to export the solution after installing Dynamics 365 Update 2 on Dynamics CRM 2016 On-Premise


To investigate this issue enable the tracing on the CRM Server To enable Tracing Click Here After enabling the Tracing. Follow the steps below. When you try to export the Default Solution if following error occurs Once you get the … Continue reading

Posted in CRM, Dynamics 365, Ms Dynamics CRM 2013, MS Dynamics CRM 2015, MS Dynamics CRM 2016 | Tagged , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

MS CRM 2016: Refresh the Sub-Grid on Dashboard from HTML Web Resource


How to refresh the sub-grid on Dashboard from the HTML Webresource? parent.document.getElementById(<Subgrid control ID>).control.refresh(); e.g. parent.document.getElementById(“Component21226322”).control.refresh();

Posted in CRM, MS Dynamics CRM 2016 | Tagged , , , , , , , , , | 1 Comment

Restrict Lookup Types for Regarding Lookup on Activities


With the following couple of lines of code, we can easily restrict the Lookup Types in Lookup Dialog. var regarding = Xrm.Page.getAttribute(“regardingobjectid”); regarding.setLookupTypes([“account”,”contact”]);

Posted in CRM, Java Script, Ms Dynamics CRM 2013, MS Dynamics CRM 2015, MS Dynamics CRM 2016 | Tagged , , , , , , , , , , , , , , , | 2 Comments