JBoss.orgCommunity Documentation
eXo Platform 3.5 provides the Watch document function in Sites Explorer that allows you to receive email notifications of changes on your selected documents.
To customize the email notification, simply change the configuration in the configuration.properties file. This file is defined at:
For Jboss: /server/default/conf/gatein/configuration.properties
For Tomcat: $TOMCAT_HOME/gatein/conf/configuration.properties
The relevant section looks like:
# Email content for WatchDocumentService
gatein.ecms.watchdocument.sender=support@exoplatform.com
gatein.ecms.watchdocument.subject=Your watching document is changed
gatein.ecms.watchdocument.mimetype=text/html
gatein.ecms.watchdocument.content=<![CDATA[Dear $user_name,<br><br>The document $doc_name ($doc_title) has changed.<br>
<br>Please go to <a href="$doc_url">$doc_title</a> to see this change.<br><br>]]>
Details:
At present, eXo Platform provides 4 parameters below in the gatein.ecms.watchdocument.content property of the email:
$user_name: The full name of the receiver.
$doc_name: The name of the document.
$doc_title: The title of the document.
$doc_url: The link to view the document in Sites Explorer.
If the values above are not set in the configuration.properties file, the server will use the default values defined in an .xml file.