Hello, Im using office connector insert Data in a .docx template, but the output file name is different than the name I inserted.
2nd question: I need to use another connector generate pdf from office document (using the generated the above docx) but I do know how to select this docx in the configurations since it generates at runtime at tomcat/server/temp folder.
Any help?
Thanks in advance
Hi,
you need to use Bonita document in input and output of those connectors:
- templating connector takes a document where your template is stored in input and write the result in an output document
- converter connector takes the output document of the templating connector in input and stores the result in another document (you can resuse the document in input if you don’t need to keep the word document and only needs the pdf)
For the output filename issue, please report a bug on the tracker with reproducible data if possible.
HTH
Romain
Thanks @ romain.bioteau, it worked when I added output file which is stored directly in bonita.engine (with output filename I typed), not saving locally except temp file is storing locally.
thanks for answering me.
about "templating connector takes a document where your template is stored in input and write the result in an output document" I created 2 documents (inputDoc: which is the template and has the velocity language and outputDoc: empty docx)
but it didnt work.
I need to ask about the stored path, if we can change it.
thanks
You can have a look to the following example
how I can import this example in Bonita, since it is not .bos file?
how I can import this example in Bonita, since it is not .bos file?
You can clone it from github (using 2021.1)