Page 1 of 1

Need help

Posted: 02 Aug 2016
by MikeDLato
Hi There,

This is a 2 part problem:



1. In Display Form, if I add a related items list, it shows at the bottom of the page, no matter where I put it. Is there a way to stop this?



2. While trying to figure out the above, I have tried to save inbetween sessions (I think) and now, the display form shows the following error when saving, and a similar error when just opening a list item in display form:



Microsoft.SharePoint.WebPartPages.WebPartPageUserException: A Web Part with this ID has already been added to this page.
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.RegisterWebPart(WebPart webPart)
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.LoadWebParts()
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.SPWebPartManagerCore(SPWebPartCollectionInitialState initialState)
at Microsoft.SharePoint.SPWeb.GetWebPartManagerInternal(Uri pageUrl, Int32 pageVersion, PageView requestedView, Boolean forRender, Boolean includeHidden, Int64& bytes)
at Microsoft.SharePoint.SPWeb.GetLimitedWebPartManagerInternal(Uri pageUrl, Int32 pageVersion, PageView requestedView, Boolean forRender, Boolean includeHidden)
at Microsoft.SharePoint.SPFile.GetLimitedWebPartManager(PersonalizationScope scope)
at eWNiLZWQoyQQgELIQj.e36iG9TnmQX3mlbBLL.eCtRtsEo2(Guid , Forms , XDocument )
at eWNiLZWQoyQQgELIQj.e36iG9TnmQX3mlbBLL.euLpScwv1(Guid , Forms , XDocument )
at FormsDesigner.Sharepoint.FDService.PublishForms(Guid listId, String contentTypeId, Guid groupId, Forms forms, String layout, ServiceFault& fault)



Any help wold greatly be appreciated. Oh and final thing. I have restored the form from a backup, but still same error.



Thanks

Mike

Re: Need help

Posted: 02 Aug 2016
by Dmitry Kozlov
Hi Mike,

Please, open the site in SharePoint Designer, navigate to the list, and remove the form file (it starts with fd_). Next, re-save the form with Forms Designer.

Re: Need help

Posted: 02 Aug 2016
by MikeDLato
Thanks Dmitry, that worked. How about the Related List dropping to the bottom of the form, is there any way to stop that?