Perhaps a pre-existing process suits you well, but you'd like to make some small tweak to one of the HTML scripts. For example, you might like to add company specific instructions to some of the steps (to run a code analyzer perhaps).
When you're viewing the page in question, you notice it has a URL like:
http://localhost:2468/Project+Path//procID/script.htm
In this example, "procID" is the ID of the process containing the script, and "script.htm" is the name of an HTML script within that process.
Take the following steps:
Now, every time you visit that page, for any project in your hierarchy that uses this process, the dashboard will show you the page containing your custom changes.
When it starts, the dashboard searches for process files and add-ins and
dynamically loads them. Also, every time you request a web page from
http://localhost:2468/
, the dashboard is using this same search
mechanism.
The dashboard searches for files in the following locations, in the following order:
When looking for a particular file, the dashboard will search in the above locations and stop as soon as it finds a matching file. This means that if you want to customize anything that appears in a process templates directory, you can. Just create your custom version and put it in a location earlier on the search list.
Note: although dashboard add-ons are distributed as ZIP or JAR files, you should refrain from unzipping them. For example, if you were to unzip an add-on in place, it would create a new Templates directory underneath the Process Dashboard installation directory. When you upgrade the dashboard in the future and a new version of the add-on is installed, your unzipped files will be overriding the newly released materials! This will almost certainly cause serious problems, as new and old versions of files will be interacting with each other. It is fine to extract single HTML files from an add-on if you intend to customize that one file. But do not extract files that you don't intend to change, or whose purpose you don't understand.
If you're working with a team, and everyone on your team would like access to changes you have made to a process script, you can do the following:
T:\Common\Our Team
Folder\Templates
" on a Windows network, or
"/usr/shared/OurTeam/Templates
" on a Unix network)When you change HTML files, everyone will see your changes immediately. The very next time they view the HTML page in question, they will see your changes. Other files, however, the dashboard will only read once. For example, template.xml files, datafiles, and LOC counters will only be read once, when the dashboard starts up. If you make changes to these files, people will have to shut down and restart their dashboard to see your changes.