Template Specification
The Notifications processor uses customizable templates for notification messages, these templates can be modified to match the requirements of your organization, editing the template files requires a basic understanding of HTML and CSS.
Upon installation of the Notifications processor a set of sample templates are copied to: C:\ProgramData\Pentagon Docs\Notifications\Templates
Placeholders
Notification messages can include placeholders. For example, to include the Object ID in the message add the string %OBJID% to the template in the appropriate location a complete list of available placeholders are detailed below
Placeholder |
Description |
CAUSEDBY |
The name of the user who caused the event |
CAUSEDBYACOCUNT |
The account name for the user who caused the event |
FILENAME |
The name of the file |
HYPERLINKFRAGMENTHTML |
A HTML formatted hyperlink containing the URL to the object |
HYPERLINKFRAGMENTPLAIN |
a plain-text formatted text fragment containing the URL to the object |
INTERNALID |
The internal ID of the object. The inter ID is always unique for each object of a single object type and withing a single vault |
MFILESURL |
An M-Files URL that shows the latest version of the object in question |
MFILESURLTOVERSION |
An M-Files URL that shows the specific version of the object in question |
MOBILEURL |
An M-Files Mobile URL that shows the latest version of the object in question |
MOBILEURLTOVERSION |
An M-Files Mobile URL that shows the specific version of the object in question |
NOTIFICATIONRULENAME |
NOT SUPPORTED |
OBJID |
The external ID of the object |
OBJTITLE |
The name or title of the object |
OBJTYPE |
Object Type |
OBJVER |
Object version |
ROLLEDBACKTOVERSION |
The version that the object was rolled back to |
TIMESTAMP |
The time when the event occurred |
USERCAUSEDWORKFLOWSTATE_<ID> |
NOT SUPPORTED |
VAULTNAME |
The name of the document vault |
VAULTGUID |
The unique identifier (GUID) of the vault |
WEBURL |
An M-Files URL that shows the latest version of the object |
WEBURLTOVERSION |
An M-Files URL that shows the specific version of the object |
PROPERTY_<ID> |
The value of the specified property of the object, replace <ID> in the placeholder with the ID of the property |
OLDPROPERTY_<ID> |
The old value of the specified property of the object, replace <ID> in the placeholder with the ID of the property |
OBJTYPE_<ID> |
Values of all the properties that can refer to the specified object type, replace <ID> in the placeholder with the ID of the property |