2022.2

Table Of Contents
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
Thisscriptstoresadefaultproperty(author)andacustompropertyinvariables.
var author = merge.template.properties.author;
var myProperty = merge.template.customProperties.myPropertyName;
ImageResource
TheImageResourceobjectrepresentsanimageresourceinatemplate.
Inscript,anImageResourceisretrievedviatheimagesArraywhichcontainsalistofallimage
resourcesthatareincludedinthecurrenttemplate(see"template"onpage1292).
Forexample:var myImage = merge.template.images[0];.
Functions and fields
Field Type Description
modified Number Timestampofthelastmodificationoftheimageresource,forexample:1566660504000.
name
String Thebasenameoftheimageresource,forexample:"cat.jpg".
path
String Thepathoftheimageresource,relativetothetemplate,forexample:"images/cat.jpg".
Page 1191