Question

I have List View Web part on site page inside site Pages library On SharePoint online site.

Now I'm trying to migrate that list view web part from one SharePoint online site to another SharePoint online site.

I have tried by migrating site page and creating list with existing list template. but it shows error on page

Was it helpful?

Solution

It won't work because the ListView webpart uses the GUID of the connected List, and the Views are stored in the List configuration.

On another site, it is another List, with another GUID

So you have to migrate the List (it will include all its Views) by saving the List as a Template, not the ListView WebPart
(you still need to recreate the ListView WebPart then, and connect it to a View)

If you are doing large scale deployments look into PnP:
https://dev.office.com/patterns-and-practices

If it is just a handful of ListViews, you are faster just recreating them by hand.

A long, long, very long time ago I wrote a Bookmarklet to add Drag & Drop to the ListView Edit page, that speeds up configuring Views:

https://www.365csi.nl/vm365com/365coach/#/Drag_Drop_Columns_in_the_EditView_Page

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top