Add Web Parts to DispForm, EditForm or NewForm.aspx
One of the users of our SharePoint project asked if it was possible to show an “Item List” on the “View Item” page.
My first reaction was: “Of course it is, add a Web Part displaying the “Item List” to the page and we’re done”.
But when I browsed to the “View Item” page and clicked the “Site Actions” I noticed that there wasn’t an “Edit Page” option available. Strange, but after some -Googling- I found the following sollution:
- Open IExplorer and navigate to your “View Item” page (DispForm.aspx)
- Replace everything in the URL after “?ID=#“ with “&PageView=Shared&ToolPaneView=2″ (without the quotes of course) and press <Enter>
After adding a Web Part to the page and saving it, the “Edit Page” option will be available the next time you click “Site Actions” on that Page.
If you like this post then please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox.
June 5th, 2009 at 23:40
[...] Eric Bastiaensen thought that maybe I found this information from his blog entry Add Web Parts to DispForm, EditForm or NewForm.aspx. I think it is possible, so credits go to Eric.
Posted: Jun 05 2009, 04:20 PM by DigiMortal | [...]
June 8th, 2009 at 01:41
[...] Add Web Parts to DispForm, EditForm or NewForm.aspx [...]
June 16th, 2009 at 09:38
öğrenci
October 30th, 2009 at 19:41
I noticed that any web parts added don’t allow connections between them
March 15th, 2010 at 19:44
[...] Add Web Parts to DispForm, EditForm or NewForm.aspx | Sharepointology [...]
March 31st, 2010 at 17:33
Really thanks
April 1st, 2010 at 08:26
Great thing !!!
June 7th, 2010 at 11:26
Cool Man!!Nice finding
June 15th, 2010 at 14:21
Has anyone else found that dropping a web part on the Edit form causes it to break?
I wanted to add some show/hide script as I do on the New form, but the Edit form gets a really funky format and does a lot of complaining about navigating away from the page and in the end will not save any changes. Total meltdown.
Our environment is kind of ‘special’ so I’m curious to know whether this behavior occurs for anyone else.
June 28th, 2010 at 09:47
I wanted to do the same, and I notice that too …
I succesfully added my script to the Edit form (fighting with messages as : “the content has changed …”). But then, when I edit an element, the page is in shared mode and I can’t save it.
Has anybody got an idea of what is happening?
By the way for the New form that’s a good trick!! Thanks!
July 29th, 2010 at 15:58
Cool one. No need to use SPD. Thanks for the invention