SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there some reference to this subject?

Both methods return completely different objects.

share|improve this question

GetCurrentCtx() can be run only in list views and gives you ContextInfo object with some useful properties. SP.ClientContext.get_current() gives you the javascript form of SPContext which you can use to retrieve, modfiy sharepoint stuff from javascript. So they are different things.

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.