When you work with HTML web resources, There might be situations where you need data about the CRM.
“ClientGlobalContext.js.aspx” gives the Context information out side of the CRM FORM.
when we do reference to the above file, what comes next is How to refer the above file., it takes some time to figure out.,
Way1: http://âClientGlobalContext.js.aspxâ << refer like this when you use a web resource with out having folder conventions>>
Way2: http://â../ClientGlobalContext.js.aspxâ << refer like this when you use web resource with a folder like structure
For example:Web resource name is referred as “test_/new_HTMLResource.htm”>>
Way 3: http://â../../ClientGlobalContext.js.aspxâ << refer like this if the web resource looks like this “ test_/testing1/new_HTMLResource.htm”
I hope this would help and save lot of time of yours when you start working with Web resources