We have developed a Custom Element for BO that needs the logonToken to function.
How do I get the default logonToken from within the document using Javascript in BO 4.3? I have not yet found anything satisfactory that can do this. From what I have read, you can get it using the serializedSession but then how do you get that? Is it available in the document?
Cheers,
Chris Mugdan
Request clarification before answering.
I need to elaborate here:
Our product Map Intelligence uses the data in a BO report to generate a map. The map visualization is a Custom Element that, up to BO 4.2, has been working. We did this by inserting jsp's into the Business Objects Tomcat hierarchy and invoking those to generate the map. The method used the BO standard viewer to find the jsp's. Unfortunately this is no longer available to us. I am new to this and have been given the task of making it work. Our Custom Element is a service that (usually) runs on the same host as the BO server. Currently I have an html page that gets sent as the visualization instead of invoking the jsp's.
Can someone please tell me how I can get the document id, occurrence id and session id from within the visualization page, then I need to get the logon token for further operations?
Cheers,
Chris Mugdan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yogananda,
Thanks for the response. Can you direct me to some documentation for this please? Also, which Javascript files to I need to include in my Custom Element HTML page to use this call and how do I reach them (URL)?
Cheers,
Chris Mugdan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
chrismugdan
You can use the JavaScript API (sap.bc.ina.api.sina.getSerializedSession) to get the serialized session and logon token from within a BO 4.3 document. The API takes in the current BO 4.3 session as an argument and returns the serialized session and logon token.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.