We just published an extension to the Templates/Info endpoint:


The endpoint returns information about the template including merge fields and merge blocks. Now, it returns additionally customer user defined document properties. In MS Word, these properties can be found in the Advanced Properties dialog in the file info backstage menu:

MS Word custom properties

The response value is described in the following table:

Key Value Type Value description
templateName String The filename of the template in the template storage.
userDocumentProperties Dictionary (key, value) of user defined document properties Contains all user defined document properties.
mergeBlocks List of ReportingCloud MergeBlock objects Contains all merge blocks in the template.
mergeFields List of ReportingCloud MergeField objects Contains all merge fields in the template.

The returned JSON looks like in the following sample. The new properties can be found in the userDocumentProperties property:


Test this on your own and get your free trial account for ReportingCloud today.