Monday, October 26, 2015

Steps to Fix Broken SharePoint Lists

Want to fix Broken SharePoint lists forms, don’t worry you are at right place under this tutorial you will get the complete solution about fixing broken SharePoint list forms.

Causes of this issue

We know that SharePoint works on a GUID system instead of file name system, so if you think that only replacing the broken file with a backup file will fix the issue then you are wrong because SharePoint will search for a file with correct GUID and not just the exact file name.

Complete Solution

Don’t worry because an easy way is available to fix this issue, this method will need some professional skills and take your time. Before applying the given steps it is recommended to be familiar with SharePoint Designer and the list’s file structure. Follow the below given steps to fix the issue:
List GUID for the forms

·         Sort out the list in your web browser and copy the GUID between? View= {and}
OR
·         You can also copy it from other unbroken list forms.

The correct XML info for the form is given below:

*** NewForm.aspx ***
<WebPartPages:ListFormWebPart runat=”server” __MarkupType=”xmlmarkup” WebPart=”true” __WebPartId=”{[Form GUID]}” >
<Title>TITLE HERE</Title>
<ID>g_[Form GUID]</ID>
<ListName xmlns=”http://schemas.microsoft.com/WebPart/v2/ListForm”>{[LIST GUID]}</ListName>
<ControlMode xmlns=”http://schemas.microsoft.com/WebPart/v2/ListForm”>New</ControlMode>
<FormType xmlns=”http://schemas.microsoft.com/WebPart/v2/ListForm”>8</FormType>
</WebPartPages:ListFormWebPart>

*** EditForm.aspx ***
<WebPartPages:ListFormWebPart runat=”server” __MarkupType=”xmlmarkup” WebPart=”true” __WebPartId=”{[Form GUID]}” >
<Title>TITLE HERE</Title>
<ID>g_[Form GUID]</ID>
<ListName xmlns=”http://schemas.microsoft.com/WebPart/v2/ListForm”>{[LIST GUID]}</ListName>
<ControlMode xmlns=”http://schemas.microsoft.com/WebPart/v2/ListForm”>Edit</ControlMode>
<FormType xmlns=”http://schemas.microsoft.com/WebPart/v2/ListForm”>6</FormType>
</WebPartPages:ListFormWebPart>

*** DispForm.aspx ***
<WebPartPages:ListFormWebPart runat=”server” __MarkupType=”xmlmarkup” WebPart=”true” __WebPartId=”{[Form GUID]}” >
<Title>TITLE HERE</Title>
<ID>g_[Form GUID]</ID>
<ListName xmlns=”http://schemas.microsoft.com/WebPart/v2/ListForm”>{[LIST GUID]}</ListName>
<ControlMode xmlns=”http://schemas.microsoft.com/WebPart/v2/ListForm”>Display</ControlMode>
<FormType xmlns=”http://schemas.microsoft.com/WebPart/v2/ListForm”>4</FormType>
</WebPartPages:ListFormWebPart>

You get this XML code downward to the serious parts. Though there is a lot of additional that you’ll see when you attempt to edit the ListFormWebPart, but these are the suitable ones as per the issue right now.

NewForm.aspx
ControlMode = New
FormType = 8
EditForm.aspx
ControlMode = Edit
FormType = 6
DispForm.aspx
ControlMode = Display
FormType = 4

Now you have the entire necessary things to fix this issue, to get the complete guide kindly visit the page contains the rest solution:  http://sharepoint.filerepairtool.net/blog/fix-broken-sharepoint-lists


1 comment:

  1. Few days ago, I also faced SharePoint problem, but I have used SharePoint Server data Recovery tool, and I was successfully resolve my all problem of SharePoint database. Then I would like to recommend same. Get info, visit here:- http://www.mannatsoftware.com/stellar-phoenix-sharepoint-recovery.html

    ReplyDelete