Pages and Items using PnP PowerShell Provisioning template

%3CLINGO-SUB%20id%3D%22lingo-sub-33215%22%20slang%3D%22en-US%22%3EPages%20and%20Items%20using%20PnP%20PowerShell%20Provisioning%20template%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-33215%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20started%20looking%20into%20the%20PnP%20PowerShell%20framework%20for%20exporting%20and%20importing%20sites%20including%20all%20relevant%20content.%20This%20involves%20not%20only%20lists%20but%20also%20list%20items%20and%20e.g.%20Site%20Pages.%20Especially%20the%20Site%20Pages%20with%20the%20Web%20Part%20settings%20updated%20during%20import%20would%20be%20great.%3C%2FP%3E%3CP%3EBut%20there%20seems%20not%20to%20be%20support%20for%20neither%20in%20the%20Get-PnPProvisioningTemplate%20as%20items%20and%20folders%20are%20not%20exported%20and%20in%20Site%20Pages%20only%20the%20frontpage%20seems%20to%20be%20supported.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAm%20I%20missing%20something%20here%20or%20is%20this%20actually%20the%20case%3F%20I%20have%20many%20cases%20where%20the%20promoted%20links%20is%20used%20on%20the%20front%20page%20for%20linking%20content%20in%20a%20nice%20manner%20-%20as%20these%20are%20items%20nothing%20is%20shown%20here.!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-33215%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-37265%22%20slang%3D%22en-US%22%3ERe%3A%20Pages%20and%20Items%20using%20PnP%20PowerShell%20Provisioning%20template%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-37265%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20only%20export%20the%20CT%2C%20Lists%2C%20Navigation%2C%20Workflows%2C%20pages%20successfully%20as%20of%20now.%20I%20did%20many%20migration%20and%20this%20is%20my%20expericen%20using%20PnP%20provisioning%20template%20commands%20from%20the%20PowerShell.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-33270%22%20slang%3D%22en-US%22%3ERE%3A%20Pages%20and%20Items%20using%20PnP%20PowerShell%20Provisioning%20template%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-33270%22%20slang%3D%22en-US%22%3EHi%20Henrik%2C%20Till%20now%20it%20is%20not%20possible%20to%20export%20Content%20from%20the%20site%20so%20listitems%20document%20items%20etc%20is%20not%20possible%20and%20you%20can%20only%20get%20the%20Home%20Page.%20i%20guess%20this%20will%20change%20over%20time%20but%20would%20recommend%20a%20seperate%20tool%20foor%20that%20like%20ShareGate%2CBittitan%20or%20avepoint.%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi

 

I started looking into the PnP PowerShell framework for exporting and importing sites including all relevant content. This involves not only lists but also list items and e.g. Site Pages. Especially the Site Pages with the Web Part settings updated during import would be great.

But there seems not to be support for neither in the Get-PnPProvisioningTemplate as items and folders are not exported and in Site Pages only the frontpage seems to be supported.

 

Am I missing something here or is this actually the case? I have many cases where the promoted links is used on the front page for linking content in a nice manner - as these are items nothing is shown here.!!

2 Replies
Highlighted
Hi Henrik, Till now it is not possible to export Content from the site so listitems document items etc is not possible and you can only get the Home Page. i guess this will change over time but would recommend a seperate tool foor that like ShareGate,Bittitan or avepoint.
Highlighted

You can only export the CT, Lists, Navigation, Workflows, pages successfully as of now. I did many migration and this is my expericen using PnP provisioning template commands from the PowerShell.