Hi
I have following script:
function changevisibilitybutton() {
var ready = Xrm.Page.getAttribute("acc1_readytocreate").getValue();
if (ready.getValue() == 1)
{
Xrm.Page.getControl("WebResource_create").setVisible(true);
}
}
but getting following error:
Script Error
One of the scripts for this record has caused an error. For more details, download the log file.ReferenceError: acc1_readytocreate is not defined at eval (eval at RunHandlerInternal (test444.crm11.dynamics.com/.../ClientApiWrapper.aspx), <anonymous>:1:24)
any ideas?
Thank you in advance
Decio