on 08-19-2013 8:30 PM
I'm working with a client who is migrating to BI 4.0 SP5. In 3.1 they used the ReportEngine SDK to set the parameters for Webi reports and then view them. We are looking at moving them to use the RESTful web services and OpenDocument for this. I know how to get the logon token, the OpenDocument URL, and the parameter info for a report from the RESTful web service. I've run into a couple of questions, though.
1. My client has a requirement to not show at least some of the report parameters in the URL because they don't want their clients to be able to hack the url to view data from other clients. Is it possible to put the parameter information into either an HTTP Request Header (like we can do with the X-SAP-LogonToken) or an HTTP Request Body so that they're not visible?
2. If #1 is not possible, is there a way to schedule a report through REST that will let us set the parameters? (Parameters are included in the scheduling documentation....). That way we could potentially schedule the report and use OpenDocument on the scheduled instance.
Thanks!
-Dell
Hi Dell Stinnett,
I doubt if the RESTful web service is available in BI 4.0 SP5. However, as per my knowledge, Webi RWS is available since 4.0 SP6 & 4.1 SP1. If the migration is to 4.0 SP6, please find my comments to your questions:
1) It is not possible to put the parameter information in the HTTP Request Header but it is possible to send it in the HTTP Request Body.
2) It is also possible to set the parameters while scheduling a document through REST. It allows the user to set the parameters as per his/her requirement while scheduling.
Thanks,
Saritha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) The parameters information can be sent in the Request Body. Here is a sample which could help.
<parameters>
<parameter type="prompt">
<id>0</id>
<answer type="Text">
<values>
<value>Bangalore</value>
</values>
</answer>
</parameter>
</parameters>
2) To set the parameters while scheduling, below is a sample :
<schedule>
<name>instanceToModifyTextPrompt</name>
<parameters>
<parameter optional="false" type="prompt" dpId="DP0">
<id>0</id>
<technicalName>Enter Country:</technicalName>
<answer constrained="false" type="text">
<values>
<value>India</value>
</values>
</answer>
</parameter>
</parameters>
</schedule>
- Saritha
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.