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
Categories: SharePoint 2010
Tags: Client Object Model, SharePoint, SP.ClientContext, SP.ClientContext.get_current(), sp.js
Comments (0)
Trackbacks (0)
Leave a comment
Trackback
Leave a Reply Cancel reply
Tags
Android
Business Intelligence
C#
Certification
Client Object Model
CodePlex
Development
EPM
Form Services 2010
François Souyri
InfoPath 2010
iOS
iPad
iPhone
JavaScript
JQuery
Microsoft Word
Mobile Application
MOSS 2007
Office 365
Office 2010
PowerShell
Project
Project 2010
Project 2013
Project Conference 2012
Project Management
Project Online
Project Server
Project Server 2007
Project Server 2010
Project Server 2013
PS2010
SharePoint
SharePoint 2010
SharePoint 2013
SharePoint Designer 2010
SharePoint Online
SPF 2010
TechEd Europe 2012
Visual Studio 2010
Web Part
Windows 7
Workflow
WSS 3.0
Top Posts
- Useful JavaScript Function: PreSaveAction #SP2010 #SharePoint #PS2010 #ProjectServer #in
- Excel formulas not auto calculating but F9 still works #in
- Clearing the SharePoint Designer 2007 / 2010 Cache
- Security Validation Issue - Form Services issue with SP1+June 2011 CU (Release 2) #in #SP2010 #SharePoint #MSProject #ProjectServer
- Programmatically setting a field to hidden within a Content Type #SharePoint #SP2010 #in
- SharePoint Designer 2013 workflow action "Call HTTP Web Service"
- Updating User Profile Properties via PowerShell (PictureURL)–SharePoint 2010 #in #SP2010
- How to check the SharePoint 2010 and Project Server 2010 service pack / patch level #PS2010 #ProjectServer #SharePoint #SP2010
- Visual Studio 2012 templates for SharePoint 2013
- SharePoint and Document Versioning within Word.
Blogroll
Archives
Blog Stats
- 229,637 hits