Forum Discussion
wadooda
Jun 06, 2023Copper Contributor
Transfer data from a List to another List on a seperate Sharepoint site
Hi, I am trying to transfer data from a List in an old Sharepoint site to a new List in modern site. I have used the in-built create from existing list2 functionality in new site it just creates the ...
SvenSieverding
Jun 06, 2023Bronze Contributor
Hi wadooda
try to expand the "Get Items" action and set the "Top Count" property to 9999.
Best Regards,
Sven
PS: You can easily copy a list including content using PnP Powershell
# Connect to source site
Connect-PnPOnline https://yourtenant.sharepoint.com/sites/yoursite -UseWebLogin
Get-PnPSiteTemplate -ListsToExtract <Listname> -Handlers Lists export.xml
Add-PnPDataRowsToSiteTemplate -List <Listname> -Path .\export.xml
# Connect to target site
Connect-PnPOnline https://yourtenant.sharepoint.com/sites/yourothersite -UseWebLogin
Invoke-PnPSiteTemplate .\export.xml