Thursday, December 31, 2009

How to edit list forms like NewForm.aspx, EditForm.aspx and DispForm.aspx in MOSS?

Most common question among SharePoint customization is that
“Why Edit Page option is not available in list forms like NewForm.aspx, EditForm.aspx and DispForm.aspx?”

If we need to edit New/Edit/Display Form of list most of the time we are using SharePoint designer.

But here is the one nice trick to achieve this functionality.

Just add “&ToolPaneView=2” at the end of the URL and refresh the page.

So that you’re URL will be like this.
http://yourMOSSserver/... /Lists/Demo/NewForm.aspx?RootFolder...&Source=…&ToolPaneView=2

http://yourMOSSserver/... /Lists/Demo/EditForm.aspx?RootFolder...&Source=…&ToolPaneView=2

http://yourMOSSserver/... /Lists/Demo/DispForm.aspx?RootFolder...&Source=…&ToolPaneView=2

You can see add webpart tool pan beside this web part.



Just add or remove your webpart and your work is done.
cheers

Below contents are Update as on 22/07/08

There is one more parameter with the same name just pass the value 3 with that.

So that you’re URL will be like this.

http://yourMOSSserver/... /Lists/Demo/NewForm.aspx?RootFolder...&Source=…&ToolPaneView=3


And that will take you to this type of page.



This will allow you to search webpart across all available galleries

Cheers once again...

No comments: