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

This saves a page you're editing in SharePoint:

<a href="javascript:ChangeLayoutMode(null,true);">Save</a>

What are the names of the two parameters to this method? More important, what do they change about the method's behavior?

If you can, please cite a source.

share|improve this question
up vote 1 down vote accepted

This method actually calls _MSOLayout_ChangeLayoutMode declared in IE55UP.js. Signature for the method:

function _MSOLayout_ChangeLayoutMode(bPersonalView, bExitDesignMode) {...}

So, the first bool parameter indicates if you want to switch to personal view, and the second indicates that you want to exit from design mode.
Usually, this method used like follows:

-Switch to edit mode(none pesonal view):


-Exit from edit mode:


Take a look at this method in IE55UP.debug.js for better understanding.

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.