Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Hide webresource via Javascript error

$
0
0

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

Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>