Read Office Doc Properties

As a Designer, I want to be able to extract Custom Properties from a Microsoft Office Open XML document (docx, xlsx, pptx etc) so that I can route documents according to the values of certain Custom Properties.

Function readofficedoccustomprops retrieves the set of Custom Properties from a document.

  • Input: Document - the Appian document to inspect (should be a Microsoft Office Open XML document for properties to be found)
  • Output: Dictionary with the following structure:
         success : (Boolean) True if file was successfully parsed, otherwise false,
         errorMsg : (Text) Error message if an error occurred,
         properties : (Dictionary) A dictionary of all Custom Properties in the document and their values