12-13-2016 3:51 PM - edited 02-03-2024 7:33 PM
Hi,
we use a portal application to link to reports using opendoc links. Beforehand we create logon tokens using the RESTful webservices and user specific credentials and parse them into the opendoc links.
Now we have some reports linked which itself contain opendoc links as drill through.
When we now use these links, we're asked for credentials, as the token is only valid for that call and doesn't transfer.
How can this be solved other than using the SDKs? Is it possible at all to log someone in using the RESTful webservices and use web intelligence and the drill through properly?
Thanks for your help,
Markus
Hi Markus,
another way to pass the token (X-SAP-LogonToken) is in the header of the request to opendocument. If the header exists for the first request, I would think it should exist when linking to another document as well.
This is explained in the BI Platform RESTful Web service Developer guide on the page below:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Markus,
To achieve this and prevent logon prompts, you will need to add the logonToken to the opendocument URL ( ...?token=<your x-sap-logontoken> ).
you will need to keep in mind though, that the token is only good for the lifetime of the logontoken (60min by default, if unused, and the Restful session cannot be logged off if you want the token to remain valid for this period)
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dan,
thanks for your answer.
I got, that I need the token in the OpenDoc link.
The navigation is as follows
User is in our portal and uses an Opendoc link to a WebI Report in BO. The link includes the token and is logged in.
In the report is a drill- through link to another report. This link has no logon token, as we don't know how we can get that token inside the WebI document, but when using this link, the user is queried for credentials.
Is there a way to fetch the token from the referring link in the document?
Is there any other way to hand over the token to the opendoc link inside the WebI document?
Best,
Markus
User | Count |
---|---|
76 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.