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

How do I know if the page is in Edit Mode from JavaScript? tells me how to know if a page is in Design mode. I need to distinguish between the two design modes: customizing vs personalizing.

How can I detect, using Javascript, when a page is being customized ("Site Actions" > "Edit Page") without getting false positives when it is being personalized ("Welcome Menu" > "Personalize this Page")?

share|improve this question
up vote 2 down vote accepted

In design and view modes, when a user is looking at personalized page, look for PageView=Personal in query string (window.location).

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.