0

We are trying to copy the default Pages and Documents to another SharePoint subsite. In SharePoint online there is no option to make a template of these. In SharePoint Designer, we were able to make a template of the default Pages list, but it did not show up when creating a new App.

2
  • What is your use-case? I do not see the point in copying the 'default' as you can deploy a new library which contains the defaults.
    – user6024
    Jun 4, 2020 at 17:42
  • We are trying to copy the contents of a Pages list to a new site while still keeping the metadata attached to the files. Jun 5, 2020 at 16:12

2 Answers 2

0

You can save the library/list as a template then create instances from sub-site:

Turn to classical UI then add an app, you will be able to find the corresponding templates.

1
  • As I stated in my question, SharePoint does not allow for the creation of Templates from these default libraries. Jun 5, 2020 at 16:12
0

You can use Export-PnPListToProvisioningTemplate and then apply the contents using Apply-PnPProvisioningTemplate.

You can do this in an automated fashion by creating an Azure Automation runbook and calling that from a Power Automate Flow using an HTTP action.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.