質問

Is it possible to delete Particular version history using pnp or J-query?

役に立ちましたか?

解決

You could delete version history by PowerShell script in SharePoint online. For more detailed information, refer to the article below.

SharePoint Online: Delete Version History using PowerShell CSOM.

In PnP PowerShell commands, there is no such PnP PowerShell command to delete the version history.

To use jQuery, you could get the specific version history by REST API, and then delete it. For more detailed information, refer to the post below.

https://social.msdn.microsoft.com/Forums/office/en-US/22bc1a22-d958-49d7-81a3-6009c39d88ac/delete-previous-versions-from-a-document-library-using-javascriptrest?forum=sharepointdevelopment

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top