EntMetaData is a scripting object that manages a collection of properties in the form of key value pairs. EntMetaData objects are proxy objects: changes to the EntMetaData scripting object are not applied directly to the underlying InDesign object. Instead, the changed metadata is kept in memory and used in actions towards the Enterprise or Studio Server system initiated from scripting. These actions do change the underlying InDesign objects and afterwards the EntMetaData object is updated.
The keys used for the properties in the EntMetaData are the same as the field name properties. For a complete overview, see the Action property in the Enterprise Admin Guide. Custom properties are identified by their name prefixed with ‘C_’.
Below is a list with common properties, exceptions and sample values.
|Type||string||Object Type||“Article”, “Image”|
|LockedBy||string||In use by||“woodwing”|
|Comment||string||Comment||“This image needs retouching”|
|Editions||Array of string||Editions||[ “North, “South” ]|
|C_ACUSTOMPROP||string||Custom property ‘A custom prop’||“A value”|