Monthly Archives: May 2012

Quick javascript handlers for Dynamics forms

I was working on a Dynamics CRM solution where quite a number of forms required simple javascript event handlers to change visibility of various form controls. What I needed in development, though, is a simple way of modifying such javascripts. … Continue reading

Posted in Dynamics CRM, Twitted | Tagged , | Leave a comment

Adding HTML to the Dynamics CRM form

Just had to come up with a generic version of javascript code that replaces web resource control with my own html: function replaceControlHtml(fldName, html){    var ctrl = Xrm.Page.ui.controls.get(fldName)._control.get_element().childNodes[1];   ctrl.innerHTML = html; } So, if I wanted to add HTML … Continue reading

Posted in Dynamics CRM, Twitted | Tagged | 1 Comment