Skip to content

bonitasoft/bonita-connector-document-templating

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bonita-connector-document-templating

Sonarcloud Status GitHub release Maven Central License: GPL v2

Insert document properties inside .docx template

Bonita compatibility

v2.3.0 is compatible with Bonita version 7.11.x and above

Build

Clone or fork this repository, then at the root of the project run:

./mvnw

Release

In order to create a new release:

  • On the release branch, make sure to update the pom version (remove the -SNAPSHOT)
  • Run the action 'Create release', set the version to release as parameter
  • When the action is completed, do not forget to manage the release on the nexus (close and release)
  • Update the master with the next SNAPSHOT version.

How to design report

Using Word (docx)

  • Insertion > QuickPart > Field...
  • Select FusionField and use a template (see Velocity templating language) as field name (eg: ${name}, ${user.Name}...etc)
  • Click OK

Using LibreOffice (odt)

  • Insert > Fields > More fields...
  • Go to Variables tab, select UserField and use a template (see Velocity templating language) as value (eg: ${name}, ${user.Name}...etc)
  • Choose Text format
  • Click Insert

Contributing

We would love you to contribute, pull requests are welcome! Please see the CONTRIBUTING.md for more information.

License

The sources and documentation in this project are released under the GPLv2 License