Sign up ×

Is there some reference to this subject?

Both methods return completely different objects.

share|improve this question

1 Answer 1

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


