Skip to Content
0

Using Restful SDK to expor webi document to HTML - Page Header is not rendered

Jun 15, 2017 at 12:17 PM

46

avatar image

Hi,

We are using Restful Web Intelligence API SDK to export webi documents into HTML format following syntax described on this link. It works quite fine but we have noticed that when exporting the page header is not included. Same happens if export format is PDF. Question is: it is possible to include the page header in the export? (as the normal export in BI Launchpad does)

Thanks

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Daniel Paulsen
Jun 15, 2017 at 01:09 PM
0

Hi Alfons

This is achieved by specifying the page mode when exporting. REST, by default, exports everything in a listing mode.

Try: /raylight/v1/documents/<docID/pages?mode=normal

https://uacp2.hana.ondemand.com/viewer/5431204882b44fc98d56bd752e69f132/4.2.4/en-US/45f8c7de6e041014910aba7db0e91070.html

Dan

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Daniel,

Yes, you are right, but the listing mode does not allow to export to HTML. Am I wrong? How to export to HTML including the header?

Alfons

0

Hi Alfons,

you can export to zipped html in listing mode, but you are correct that the "mode" parameter is not available for this export. You can export non-zipped HTML if you export individual reports (tabs) within the document, but I don't see an option for headers/footers.

I read sometihing last week about HTML not exporting headers. I'll try and find that again to verify, but will not have time to check until later today,

Dan

0