Hello,
I've used the Custom Code Validation Tool provided by Microsoft to detect issues on my code before the migration to CRM 2013 and Dynamics XRM Tools from Code Plex to convert the code to 2013, it works for almost all my issues, but I'm facing some specific errors, like in the following function:
function Form_onload() { InitializeDuration(); crmForm.all.regardingobjectid.lookuptypes = "2,1"; crmForm.all.regardingobjectid.lookuptypenames = "contact:2,account:1"; crmForm.all.new_isalldayevent.onclick = AllDayEvent_onchange; options = Xrm.Page.getControl("new_subcategorysftk").getAttribute().getOptions(); }
I'm not a javascript expert, I hope you can help me to convert the crmForm.all to XRM code.
Kind Regards