Forge, PDF export and supporting Images/Diagrams

Over time we got customer request to improve our PDF export for our Connect app. So, it has some extra consideration and supports rendering diagrams etc to PDF.

So, my question is very brought: How would we support that in Forge? I see the adfExport key in the Confluence connect manifest.
However, that does expect a ADF format. I assume that for basic structured, we can generate that.
However, what is not clear to me is how we in ADF you include generated diagrams/graphics into that PDF export. There seem media tags. But its unclear how I would add there some generated image / diagram.

I’m curious what an approach for a diagrams and graphics is in a Forge based PDF export support.

Yes, I tried to experiment with adfExport for a Custom UI Forge app that has complex diagrams and graphics and it was just not possible. You basically have to recreate a renderer to ADF and only then it “might“ work but will definitely not be the same and some content will not be possible to show as we show in the Confluence Page UI. Created a Forge ticket as I did not see one created outlining the limitations.

1 Like