Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,773
Community Members
 
Community Events
176
Community Groups

How to call PDF Export from a Confluence Forge App

Hello, I am building a Forge app that opens as a modal dialog where a user can fill out a form and then send the current page, as a PDF, to an external API.

I have been unable to find in the documentation or in the community anything about being able to send a PDF export request either with the Confluence rest API or any other way in Forge and then get either the contents of the PDF or a way to download the file after the export request.

Previously, I have set up another API that I can send the page content to and it will convert to PDF for me, but it’s not as compatible as the Confluence PDF Export option. I have seen use of calling https://{yoursite}/wiki/spaces/flyingpdf/pdfpageexport.action?pageId={pageid} however, this results in a page with a download link. I can’t even get the correct results of this page through a GET call in my Forge app to then try to parse out the link and go from there.

Is there a way to accomplish this that I am just not finding or are there other options or tools if this is not possible?

Thanks

1 answer

0 votes

Hi @Jeremiah Reed 

You'll probably get more help by asking this question on https://community.developer.atlassian.com/

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events