crm 2011 xrm.page.getattribute returns null when there is value
问题 I'm not really skillful with JScript but I've written the following code within a function webResource that is supposed to run when the form loads (OnLoad) var creationDateName = "createdon"; var today = new Date(); var creationDateAttr = Xrm.Page.getAttribute(creationDateName); if(creationDateAttr!=null) { /* Some more code */ } The problem is that Xrm.Page.getAttribute(creationDateName) returns null when there is a value on the field (the field is not being displayed in form but when