I am trying to fire following onload event in an HTML webresource in dynamics CRM. But it seems not working without any exception thrown. I tried with both options but still no luck, any idea?
https://community.dynamics.com/crm/f/117/t/234028
https://social.microsoft.com/Forums/en-US/4969a015-59f6-4d1d-a582-d36ecf2cec24/crm-2013-html-web-resource-removed-body-onload-event?forum=crmdevelopment
<!DOCTYPE html>
<html>
<head>
<title>User Security Roles</title>
<script src="ClientGlobalContext.js.aspx" type="text/javascript"></script>
<script src="../WebResources/new_xrmservicetoolkit" type="text/javascript"></script>
<script type="text/javascript">
function getLoggedInUserRoles() {
alert("Onload event triggered.");
}
</script>
window.onload = call;
</head>
<body onLoad="getLoggedInUserRoles()">
</body>
</html>
*This post is locked for comments
I have the same question (0)