Reading Document Properties

Muhimbi's software comes with a function to read document information. At the time of writing it can read this information from MS-Word and PDF files. Regardless of the front-end used (Nintex Workflow, SharePoint Designer, Power Automate or API) the input parameters are always the same.

The following Category Names can be specified.

Category nameDescription
BuiltInCategory for built-in properties. Covers both Office and PDF.
OfficeBuiltInPropertiesCategory for built-in Office properties.
OfficeCustomPropertiesCategory for custom Office properties.
PdfBuiltInPropertiesCategory for built-in PDF properties.
PdfCustomPropertiesCategory for custom PDF properties.
PdfXmpCategory to request all XMP metadata in XML format. No property name is required when this category is used.

Depending on the selected category, different properties can be read.

MS-Word built-in properties

Property nameDescription
TitleTitle of the document.
SubjectThe subject of the document.
AuthorSemicolon separated list of authors of the document.
KeywordsKeywords in the document.
CommentsComments in the document.
TemplateThe name of the template file of the document.
LastAuthorThe person who last edited the document.
RevisionThe revision number of the document.
AppNameThe application used to create the document.
TimeLastPrintedThe date and time the document was last printed.
TimeCreatedThe date and time the document was created.
TimeLastSavedThe date and time the document was last saved.
VBATotalEditThe number of edits to VBA project.
PagesThe number of pages in the document (when last saved).
WordsThe number of words in the document (when last saved).
CharactersThe number of characters in the document (when last saved).
SecuritySecurity settings of the document (Details here).
CategoryThe category of the document.
ManagerThe manager associated with the document.
CompanyThe company.
BytesThe file size in bytes.
LinesThe number of lines in the document (when last saved).
ParasThe number of paragraphs in the document (when last saved).
NotasNotes in the document.
CharsWSpacesThe number of characters with spaces in the document (when last saved).

PDF built-in properties

Property nameDescription
TitleTitle of the document.
AuthorThe author of the document.
SubjectThe subject of the document.
KeywordsKeywords in the document.
Semicolonseparated list.
CreationDateThe date and time the document was created.
ModificationDateThe date and time the document was last changed.
CreatorThe application which created the document.
ProducerThe converter which created the document.
PdfVersionThe PDF version. For example “1.6”.
PageSizeThe size of the first page in inches. For example “8.50 x 11 in”.
TaggedPdfFlagindicating if the PDF document is tagged.
PagesThe number of pages in the PDF document.
FastWebViewFlag indicating if the document is optimised for Fast Web View or not.

Regional Settings

Regional settings are automatically applied to all date and number formats. This works as expected, but is worth remembering:

  • SOAP API: This returns a DateTime object that can be used as expected by the language that consumes the web service.
  • Workflows: The regional settings of the account the workflow service runs under are used.
  • Online: The regional settings associated with the SharePoint / Power Automate account are used.

Have a Question?
We’re Always Happy to Help.

© Muhimbi Ltd. 2008 - 2024
This website uses cookies to ensure you get the best experience. Learn more