properties

The properties object inside the template object (see template) contains all default properties of the template file as well as any custom properties.

To view and complement the file properties, select File > Properties on the menu. See File Properties dialog.

Following are the default properties.

Field Type Description
application String Application version when the document was last saved
author String Original author of the document
company String company name
created Date Date and time on which the document was created
customProperties

List

A list of defined custom properties
description String Description of the document
file String File name of the document
keywords String Semicolon-separated list of keywords
  modified

Date

Date and time on which the document was last saved

Example

This script stores a default property (author) and a custom property in variables.

var author = merge.template.properties.author;
var myProperty = merge.template.customProperties.myPropertyName;