CRM 2011 Web Resource Part 2: How to use “ClientGlobalContext.js.aspx”

Siva's Dynamics CRM 2011 Blog

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

View original post

Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s