Tip : Faster Development of Word Templates
The Word templates contain Velocity scripts and CSS code which can be customized for your needs. This makes the deployment of custom Word templates easy because one Word file contain everything.
However, it makes the development of such Word templates difficult, as every time you make some changes you will have to upload the modified Word file again and again
To make this easier do this:
Create a "$CB_HOME/tomcat/webapps/cb/config/templates/MyTemplate.vm" file on your server, and put the Velocity scripts you are working on there
Modify your Word template include the content of this template file using:

#parse("œMyTemplate.vm")

This is better because:
You can edit the "MyTemplate.vm" using your favorite text editor/IDE (Eclipse for example) with syntax highlighting etc.
Every time the "MyTemplate.vm" is changed, it is loaded automatically when the Word template runs. Now you have to upload the Word template only once.
Similar to this, you can include CSS files too.
After the development is complete just copy-paste the content of the "MyTemplate.vm" into the final Word template and ship/deploy that.
Was this helpful?