Version 2.6 of Transformer!, the ultimate Dynamics CRM JavaScript conversion tool is now available. New in this release: New Transformations: 1. .GetControl Now converts to .getControl 2. crmForm.attachEvent(“onsave”, onsave); crmForm.all.productid.attachEvent(“onchange”, productonchange); Now converts to: Xrm.Page.entity.addOnSave(onsave); Xrm.Page.getAttribute(“productid”).addOnChange(productonchange); 3. crmForm.all.new_name.fireEvent(“onchange”); Now converts to: Xrm.Page.getAttribute(“new_name”).fireOnChange(); 4. document.getElementById(‘crmFormSelector’).innerText; Now converts to: Xrm.Page.ui.formSelector.getCurrentItem().getLabel(); 5. Variables named […]
Continue reading