Forum Discussion
YOJAN MORALES
Feb 08, 2018Copper Contributor
pnp provisioning engine - List Items
I need to migrate a sitecollection to other sitecollection. I will use pnp provisioning engine, but my question is... Can I copy the list items with this tool?
Thanks
- Feb 08, 2018Hi, The PNP provisioning engine does not include provisioning content. The only content it includes is the site collections welcome page. We use ShareGate for this sort of Site coll/web/list migration - though there are a number of other migration tools (metalogix, ave point, etc.) out there as well. Thanks Nigel
johndpalm
Jun 30, 2022Brass Contributor
You can set "includeItems" in the PnP Provisioning Engine configuration file.
https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/configuring-the-pnp-provisioning-engine
{
"$schema":"https://aka.ms/sppnp-extract-configuration-schema",
"persistAssetFiles": true,
"handlers": [
"Lists",
"WebSettings",
"Pages"
],
"lists": {
"lists": [
{
"title": "My Test List",
"includeItems": true,
"query": {
"includeAttachments": true
}
}
]
},
"pages": {
"includeAllClientSidePages": true
}
}