Author: Will Abson
This add-on project for Alfresco Share defines a simple dashlet to display a user-defined piece of content on a user or a site dashboard. It was inspired in part by the JotPad dashlet in SugarCRM.
The dashlet is now included in core Alfresco since version 4.2.b, and future updates will be made there. This project is maintained for older versions of Alfresco only.
The dashlet is packaged as a single JAR file for easy installation into Alfresco Share.
To install the dashlet, simply drop the notice-dashlet-<version>.jar
file into the tomcat/shared/lib
folder within your Alfresco installation, and restart the application server. You might need to create this folder if it does not already exist.
An Ant build script is provided to build a JAR file containing the custom files, which can then be installed into the tomcat/shared/lib
folder of your Alfresco installation.
To build the JAR file, run Ant from the base project directory.
ant dist-jar
The command should build a JAR file named notice-dashlet-<version>.jar
in the build/dist
directory within your project, which you can then copy into the tomcat/shared/lib
folder of your Alfresco installation.
Alternatively, you can use the build script to hot deploy the JAR file directly into a local Tomcat instance for testing. You will need to use the hotcopy-tomcat-jar task
and set the tomcat.home
property in Ant.
ant -Dtomcat.home=C:/Alfresco/tomcat hotcopy-tomcat-jar
After you have deployed the JAR file you will need to restart Tomcat to ensure it picks up the changes.