Thursday 24 July 2014

Unable to get property 'get_current' of undefined or null reference: Error in SharePoint App

Root Cause: You might have using wrong object creation in SharePoint App.
Ex: var ccontext = SP.ClientContext.get_current();
Solution:
Use below code.