Sharepoint Magic: The Much-Beloved "&ToolPaneView=2" trick…

EVERYTHING in Sharepoint is a web part page…

… but for the auto-generated list pages like NewForm.aspx, ViewForm.aspx and EditForm.aspx, the Site Actions menu DISABLES (read !@#$%^&* HIDES) the “Edit Page” menu item, leaving The User thinking that the only way to edit these pages (say to added a CEwp with a
<!– tag which enlarges the main text box to something useable by someone with more than 2 fingers) is to open the page up in Sharepoint Designer (!@#$%^&*), UN-ghost the page (!@#$%^&*), and manually add the CEwp…

NOT SO…

Simply by adding the query string variable "&ToolPaneView=2" to the URL of these aspx pages magically (there can be no more appropriate term) re-displays them as IF you HAD had the "Edit Page" view available !!!

From there you can add (say) a CEwp, and then put simple-but-oh-so-useful CSS tags like

.ms-rtelong{ height: 400px; width: 700px; } –>

or

to your form, and *VOILA* – you’ll be able to edit these aspx pages as the WEB PART PAGES that they ARE… and WITHOUT un-ghosting them from the original site definition !

Cheers,
-MV

Advertisements
This entry was posted in Sharepoint Tips and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s