Monthly Archives: July 2016

Remove or Hide Business Process Buttons


To Hide the Business Process Buttons cannot be done OOB. To achieve this add a HTML Web Resource on Form and paste the following code. See the magic. 🙂 HTML Web Resource: $(document).ready(function () { // Hide Next Stage button … Continue reading

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

Remove Optionset Values from the Optionset


By using following script we can remove the options of Optionset. var optionSetControl = Xrm.Page.getControl(<Control ID>); if (optionSetControl != null || optionSetControl != undefined) { optionSetControl.removeOption(1); }

Posted in CRM, 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