Using Existing PDF as Report Template

I’m running Igntion 8.1.2 Perspective. I need help figuring out how to use an existing PDF as the basis of a new report in the Designer. I have already exposed the existing PDF through WebDev and tested this by successfully viewing the existing PDF in the PDF viewer. How do I use this same PDF to make a report “template”? I’m guessing I need to use a data source script, but I’m unsure of the particular script to do this. Drag and drop is not working either. I have searched for hours through IA University and Docs without finding the info I need.

(Assuming the current report is only a pdf and not already an Ignition Report)
You will have to recreate the report structure from scratch in the report designer. Then add a data source to populate the structure you created via Query, scripting, parameters, etc.

1 Like

To elaborate on @dkhayes117’s response:

Ignition’s Reporting module only writes PDFs, it doesn’t read them at all. Internally, it constructs a PDF entirely programmatically, via the “ReportMill” technology IA licenses.

The demo and overview seem misleading then. The overview and example here: https://demo.ia.io/data/perspective/client/OnlineDemo/feature/reporting/examples
specifically says, " You can even use an existing PDF as the background of your report, with data placed on top of it, as shown in the Compliance Report." Looks like what is really happening in this example is that the background of the report is an image generated from a PDF and then text is added on top of the image where data needs to be entered and then the report is generated into a PDF. Data for text is populated as @dkhayes117 suggested. I will give this a try. I’m thinking I will loose quite a bit of resolution in the final PDF since the background PDF is an image. We’ll see…Thanks for the responses @dkhayes117 and @pturmel!

2 Likes

Huh, I didn’t know about the compliance report example, I have no idea how that works under the hood. This capability seems like it would be limited in my opinion.

I’m trying to do something similar, did you ever figure out how to accomplish this?