15 May, 2011

How to open a list in Edit Mode



To open a List in edit mode and add the new Web Parts you usually need a SharePoint Desinger. 


But there is a trick, how to open a List in Edit Mode and have the “Add Web parts” window is displayed. 


Everything you need to do is to add  "&ToolPaneView=2" parameter to the List URL.


By means of this, you have the ability to add web parts and edit a List’s Form pages in the browser. It will look like:


http://SharePoint2007/Lists/ListName/ListFormView.aspx?&toolpaneview=2


Where ListFormView.aspx is either AllItems.aspx, NewForm.aspx, DispForm.aspx, or EditForm.aspx using the default names.


There is no SharePoint Designer used and no customisations to the page that require unghosting from the site definition.
Note:
ToolPaneView=2 -Shows the "Add Web Parts" toolpane, allowing you to drag and drop web parts onto a "Web Part Page".
ToolPaneView=3 -Shows the "Search" toolpane, letting you search through the web part galleries before adding a web part to the page.


Some useful info regarding the same:
1. Add “?contents=1″ behind the URL and you can delete any webpart from your page.


2. Find List Guid or view Guid:
In the list view – right click and view source. Then search for “ctx.Listname”.
The Guid looks like this:
{DEF643C7-CF80-4DF8-866F-C16DC017DFC0}.


The view Guid is found by searching for “ctx.view” and looks similar to the list Guid above.


If you have any information that you find valuable regarding the same then please share it by means of comments so that it will be useful for everybody.

Your Feedbacks/Suggestions/Comments are very important for me...If you have any Doubts/Queries/Confusion then please let me know...

I would be more than HAPPY to help you as well as RESOLVES your issues, Thanks

No comments:

Post a Comment

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge

Note: Only a member of this blog may post a comment.