bonita-connector-document-my-templating
Insert document properties inside .docx template
Prerequisites
- Java 11
- Maven 3
Bonita compatibility
Is compatible with Bonita version 2021.2 and above.
Build
Clone or fork this repository, then at the root of the project run:
./mvnw
Install
Starting with Bonita 2021.2, the following command must be executed to install the .jar locally and then import it from Bonita Studio.
mvn clean install
Release
In order to create a new release push a release-<version>
branch with the desired version in pom.xml.
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