Quantcast
Channel: SCN : Popular Discussions - RESTful Web Services SDK
Viewing all articles
Browse latest Browse all 1088

Exporting a Webi report as PDF

$
0
0

Hi,

 

I'm having a hard time getting a PDF to export properly. I can get the report to export, but the report header and footer are missing.

 

In a nutshell, here's what I'm doing:

 

* GET request to http://server:6405/biprws/raylight/v1/document/1234/parameters/?lovInfo=false to get the list of parameters my report needs

* PUT request to http://server:6405/biprws/raylight/v1/document/1234/parameters, with the following XML:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><parameters>    <parameter optional="false" type="prompt" dpId="DP0">        <id>0</id>        <technicalName>Please Enter Date</technicalName>        <name>Please Enter Date</name>        <answer constrained="true" type="Text">            <info cardinality="Single" keepLastValues="true">                <lov hierarchical="false" refreshable="true">                    <id>UNIVERSELOV_DS0.DO2e</id>                </lov>                <previous>                    <value id="0">02/28/2016</value>                </previous>            </info>            <values>                <value id="0">02/28/2016</value>            </values>        </answer>    </parameter>    <parameter optional="false" type="prompt" dpId="DP0">        <id>1</id>        <technicalName>Please Enter Agency Identifier:</technicalName>        <name>Please Enter Agency Identifier:</name>        <answer constrained="false" type="Text">            <info cardinality="Single" keepLastValues="true">                <lov hierarchical="false" refreshable="true">                    <id>UNIVERSELOV_DS0.DO21</id>                </lov>                <previous>                    <value>100049</value>                </previous>            </info>            <values>                <value>100052</value>            </values>        </answer>    </parameter></parameters>

* GET request to http://server:6405/biprws/raylight/v1/document/1234, with Accept header set to "application/pdf"

 

While I do get my PDF, I'm only getting the main body, not the page header/footer.

 

Any suggestions?


Viewing all articles
Browse latest Browse all 1088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>