Export pages and subpages in PDF

hi ,
i have created one page and one subpage inside that page ,i want to export pages with subpages in one PDF .
Attching screenshot,pls do the needful.demo

first screen shot created one demo page and demo123 sub page but not getting export of page and subpage

Right now there’s no built-in multipage PDF export. But you can use a handcrafted URL to simulate that, see http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HPDFExport (check the pages parameter in the URL).

The jira issue for this is: http://jira.xwiki.org/browse/XWIKI-13658

hi,
i have tried this but its not at all working,can u seggest any api to to fetch the report.

You must provide details or I won’t be able to help you. What’s not working? What did you try precisely? Can you paste the URL that you’ve used?

I’ve retested it and I confirm that it works fine: http://localhost:8080/xwiki/bin/export/Sandbox/?format=pdf&pages=Sandbox.WebHome&pages=Sandbox.TestPage1

hi ,
this is manually we have to set so can u tell is there any restful api to export multiple pages

Could you reply to my question first? I asked you the following;

Second, the URL I’ve given you can be considered a REST URL.

Hi,
In the previous mail I have answered that it’s working now ,because I pasted the wrong url that’s y I was facing problem.now I can export multiple pages with the url whatever u gave…

ok cool. Note sure what mail you’re referring to though since I haven’t received such an mail and the thread above I don’t see any mention of that… Anyway the important part is that it’s working for you :slight_smile:

Hi there,

Can you please explain how come the multipage export works here http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/ContentOrganization/ (Powered by XWiki 8.4.4-node1. Hosted and managed by XWiki SAS) but not with my own installation (XWiki Debian 9.11.1)? Even the order of the exported documents is correct. Are you only providing this functionality to users who pay for support? Yes I know about the URL you mentioned here but that wont help with ordering the documents. Would like to refrain from installing an additional extension and confuse the users by telling them not to use the built-in export functionality.

Kind regards

There’s no such thing.

sorry, I was wrong about multipage export working with http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/ContentOrganization/