Wednesday, June 10, 2015

Recover Lost Lookup Content after restoring the site backup or export/import of list from List Template operation in SharePoint



-------------------------------------------------------------------------------------------------
Try these steps:

Step1:  Download the STP of List template e.g.: test.stp

Step2:  Rename the STP as test.cab

Step3:  Extract the cab file.

Step4:  Change the values in manifest file after extracting the Cab

Find the Lookup values in manifest

<Field Type="Lookup" List="{Guid Value} "/>

Replace Guid value with Lists/ListName

<Field Type="Lookup"  List="Lists/ListName"/>

Step5: After saving the manifest.xml file, change it into cab file with the following command

C:\> makecab "C:\Temp\manifest.xml"  "temp.cab" /L   "C:\Temp"

Step6: After changing into Cab, rename it to STP again.

Step7: Upload the STP and create the list.

You will get your lost content.

Happy Coding




1 comment: