Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top