Forum Discussion
Brent Ellis
Oct 21, 2016Silver Contributor
a way to retrieve metadata of a previous version of a file? (using CSOM in PowerShell in SPO)
I am using CSOM in PowerShell, querying SharePoint Online, but in general, I am looking for a way to retrieve what a specific column/value was on previous versions of a document programmatically. ...
SanthoshB1
Oct 21, 2016Bronze Contributor
Meta data will not be available for previous versions.
- Oct 25, 2016Ey Brent,
The metadata should be in the Properties member of the SPFileVersion class: https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfileversion_members.aspx Don't know for sure If you will be able to get the data you want- Jonathan CardySep 01, 2017Copper Contributor
That would be for SSOM, not CSOM.