In this article, you will learn how to generate PDFs in your Simplifier applications.
- A customized PDF Template (see Create a PDF Template via Plugin)
Step 1 – Integration into your Application
Open the input mapping dialog and fill the parameters templateName and data. The template name could be filled by using a constant value. The data parameter is optional – depending on if your template should display dynamic data – and should be filled using variables.
Pressing the Generate PDF Button will generate and display a PDF. Please make sure that the TestTemplate is available on your Simplifier instance.
In case, you want to test the running example with your own PDF template, you just have to replace the PDF template name in the SF_Example_PDF application.
Go to the process designer and open the story “Generate PDF” and change the constant value of templateName in the input mapping of the Business Object “SF_PDF-> generate” which is currently set to TestTemplate.
The data send to the the PDF Plugin is a global variable with a pre-defined value. You can find it on the data workbench.