Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence REST API endpoints to work with Scroll PDF export

Nikhita Mehta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 15, 2018

We are using the Confluence REST API and Scroll PDF to set up a feature in our Confluence instance whereby users can
export PDF copies of sections of the documentation.
We would require some assistance concerning the Confluence REST API endpoints and the params we need to pass to achieve the goals described in the questions below.
- How to export multiple pages in a single PDF when there are for example 2nd-level child pages inside a 2st-level child page?
Example:
root page (user initiates PDF export action here)
|
|__child page
|__child page
|__child page
|__child page
| |______child page lev. 2
| |______child page lev. 2
| |______child page lev. 2
|__child page
|__child page
|__child page
|__child page
|__child page
- How can we display the user-configured timezone value in the page template to use for a PDF export?
We cannot manage to fetch user timezone setting via API calls.
This article did not solve the issue: https://help.k15t.com/scroll-viewport/latest/user-125708812.html

1 answer

0 votes
Tom Rough
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2018

Hi Nikhita, 

Thanks for your post. 

Which version of Scroll PDF Exporter were you using?

In version 4.x, if you are wanting to export pages using the REST API, this can be setup by following the steps outlined in our documentation here. Within the export parameters, you can then define the export scope, which will allow you to export parent and child pages. 

Had you seen this information already? 

In relation to your second point, were you wanting to include a time-stamp for when the export was performed? You mentioned you wanted to include the user time zone, was this in relation to the time zone that can be set via a Confluence user profile? 

Thanks, Thomas (K15t Software)

Nikhita Mehta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 18, 2018

Thanks for the reply Thomas.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events