New answers tagged spfile
I am able to solve the above problem to access custom file properties using OpenXML. In this instance, I had to either create a WordProcessingDocument or SpreadsheetDocument from the File stream depending on the file type. once I have the document I able to read the CustomFilePropertiesPart and access the properties as required. Hope this helps someone. ...
string filename = Convert.ToString(properties.ItemEventProperties.AfterProperties["Title"]);
Top 50 recent answers are included