I've added following script in HTML webresource of CRM online trial to get global context but it is not working and throws exception. Failed to load resource: the server responded with a status of 404 () .
Any idea to get this done?
<script type="text/javascript" src="ClientGlobalContext.js.aspx"></script> <script type="text/javascript"> function getLoggedInUserRoles() { try { debugger; var parameters = GetGlobalContext().getQueryStringParameters(); } catch (e) { alert("Error: "+e.Message); } } </script>
*This post is locked for comments