-
Just double-checking (I've read #406), that there is currently no way to copy a page between sites using this library? I.e. what PnP PowerShell's Which would be the recommended way to accomplish this? If this is the case, the authentication gathered via PnP.Core.Auth can be utilized somehow to perform raw REST requests, or a new authentication flow (for raw REST) should be implemented? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@horacioj : copying pages between sites is rather complex as you'd not only need to copy the page but also the relevant artefacts used by the page (or alternatively ensure the proper permissions are granted). Copying pages across sites is not something currently supported by the SharePoint UI either. If you're talking about copying files, then yes we still need to wrap the REST copy APIs in PnP Core (#406). If you can't wait for that work you can either make custom REST requests using PnP Core SDK (see https://pnp.github.io/pnpcore/using-the-sdk/basics-customapirequests.html#making-a-custom-spo-rest-request) or alternatively update PnP Core SDK and create a PR to submit your work to the community. |
Beta Was this translation helpful? Give feedback.
@horacioj : copying pages between sites is rather complex as you'd not only need to copy the page but also the relevant artefacts used by the page (or alternatively ensure the proper permissions are granted). Copying pages across sites is not something currently supported by the SharePoint UI either. If you're talking about copying files, then yes we still need to wrap the REST copy APIs in PnP Core (#406). If you can't wait for that work you can either make custom REST requests using PnP Core SDK (see https://pnp.github.io/pnpcore/using-the-sdk/basics-customapirequests.html#making-a-custom-spo-rest-request) or alternatively update PnP Core SDK and create a PR to submit your work to the c…