How to generate a pdf file?

1
0
-1

I want to generate a pdf file from the forms i complete.

1 answer

1
+1
-1
This one is the BEST answer!

If you mean creating pdf from the data that was submitted to the process (using for example user forms) i will suggest using pdfbox java library or some external tool for report creation like Birt.

Best regards,
bpms.help

Comments

Submitted by xhoi.kallupi on Tue, 10/25/2016 - 09:49

plz can you specify it a bit more using pdfbox,should i create a connector ?

Submitted by xhoi.kallupi on Tue, 10/25/2016 - 09:49

plz can you specify it a bit more using pdfbox,should i create a connector ?

Submitted by contact_420 on Tue, 10/25/2016 - 10:54

Unfortunately it's not an easy topic that can be described in one post.

PDFBox is a Java library for working with pdf files ( documentation). To use it you have to include it's jars in your workspace (Development -> Manage jars). The you can use them in scripts (groovy). This is one option.

The second option (and I prefer that) is to write code outside of the bonita, pack it to your own jar and then use it in bonita. In my opinion it is better approach because creating PDF is not something that can be done in few lines of code. And the best option in this case would be to build this functionallity as your own "Custom connector".

Either way, what you need to do is Java coding...

Best regards,
bpms.help

Submitted by antoine.mottier on Wed, 06/28/2017 - 11:33

On a side note, the subscription edition of Bonita BPM provide a PDF connector that let you generate a PDF file out of a Word template.

Notifications