Using _spPageContextInfo to Determine the Current SharePoint Context in Script

Before we jump into the high weeds, I want to make everyone aware of the _spPageContextInfo object that is initialized in every SharePoint page. Sahil Malik wrote a post entitled _spPageContextInfo is your new best friend and Marc D. Anderson wrote another article referencing Sahil’s entitled Using _spPageContextInfo to Determine the Current SharePoint Context in Script.

The _spPageContextInfo object. Learn it. Live it. Love it.

Advertisements

Leave a Reply

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s