I'm currently moving some SP lists from one site collection to other site collection using list templates(without content).
I followed the process given in this link for moving lists with lookup fields in them.
the excerpt from the link is as follows:
Browse to the source Web’s lookup list and choose Modify settings and columns.
Copy the source lookup list GUID from the URL.
Browse to the destination Web’s lookup list and choose Modify settings and columns.
Copy the destination lookup list GUID from the URL.
Save the source Web’s list that contains a lookup column to the lookup list as a list template called [yourlist].stp.
Export the list template STP from the source list template gallery to the file system.
Rename the [yourlist].stp file to [yourlist].cab so Windows can open it.
Open the file, right click on the manifest.xml file and export it to
the file system.
Edit the manifest.xml file; find the source Web’s lookup list GUID and replace it with the destination Web’s lookup list GUID.
Save the manifest.xml file.
Open a VS.NET command prompt.
Run the makecab command as follows:
makecab manifest.xml [yourlist].stp
Import the new STP into the destination Web’s list template gallery. You will need to delete it if it has previously been imported.
Create a new list based upon the new STP file.
The lookup column on the new list should retain all the data that was in
the source list.
The lists got moved successfully for some of them. Some lists have additional lookup columns from parent list. These lists are showing the following error in
Sorry, something went wrong
File Not Found.
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
I went to the list settings and edited the view and found that on enabling the additional lookup fields in the view, I'm getting the error.
If I enable only the lookup column without additional lookup fields the view is getting rendered correctly.
How do I resolve this error.? One other list which had additional lookup fields is getting rendered correctly. So I dunno what might be the cause.
Some details about the order in which i created the lists.
First, I created the parent list from template and then created the child lists from the template.
I went to edit column of the lookup fields and found that they're correctly pointing to the parent lookup list.