Home > SharePoint 2010 > SP.ClientContext.get_current is null or not an object

SP.ClientContext.get_current is null or not an object

One of the reasons you might be getting this error is because you are trying to use the client object model without the sp.js file being loaded.

Other post regarding errors you might be getting related to the client object model and sp.js

You might need the ExecuteOrDelayUntilScriptLoaded method

Uncaught TypeError: Cannot read property ‘get_current’ of undefined

SP.ClientContext.get_current is null or not an object

About these ads
  1. No comments yet.
  1. No trackbacks yet.

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 )

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

Follow

Get every new post delivered to your Inbox.

Join 571 other followers

%d bloggers like this: