on 09-22-2016 2:50 PM
Hi Everyone,
I hope someone can help point me in the right direction. I am a BO guy, but don't know too much about Java or RESTful. We are calling a few reports through RESTful and they are being displayed as PDF.
The PDF that are returned are cropped. The header and footer are all cropped off and literally the body or section is created. When the report is run in Webi it is displayed correctly. It is only with the REST call that the PDF is cropped.
There are no page settings specified in the code.
Thanks in advance for any help.
Hi Alexander,
What is the BI version you are using? Is it SAP BusinessObjects Business Intelligence platform 4.0 SP7? Also the issue comes when the usage of REST call to export in paginated mode versus listing mode is mixed. In Which mode you are exporting it?
Regards,
Kedar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the meaning of "raylight" in the URL?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone,
Thank you very much. Exporting the document in paginated mode /pages worked perfectly.
Many thanks to all of you.
A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone,
Firstly, thanks for the replies. Here is some more information:
System verison: BI4.1 SP5 Patch 7
getDocumentId - uriTemplate: [http://servername:6405/biprws/raylight/v1/documents?offset=0&limit=50]
setDocumentParameters - uriTemplate: [http://servername:6405/biprws/raylight/v1/documents/59046/parameters]
getDocumentAsPDF - uriTemplate: [http://servername:6405/biprws/raylight/v1/documents/59046]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Alexander,
Your last call:
getDocumentAsPDF - uriTemplate: [http://servername:6405/biprws/raylight/v1/documents/59046]
... exports the document in listing mode
To export it the same way as BI LaunchPad, as Kedar and Dan suggested, you need to ask for paginated mode:
[http://servername:6405/biprws/raylight/v1/documents/59046/pages]
See also this optional URL parameter:
mode
: (type=string, values="normal
" or "quickDisplay
", default="normal
")
Regards,
eric
hi Alexander,
Could you please copy/paste the call URL? (remove the server name if necessary)
Regards,
eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.