Skip to Content
Dec 12, 2022 at 09:39 AM

In a Custom Element, getting document details and logonToken using Javascript in BO 4.3


I asked this question previously and it was tagged as a Java question, but it is really a Custom Element Javascript question. The reply I got did not help me:

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 so we had access to the document details that our product needs . The method used the BO standard viewer to find the jsp's. Unfortunately this is no longer available to us in 4.3. 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. I need to use Javascript to get the document details from within the Custom Element

Can someone please tell me how I can get the document id, occurrence id, session id and logon token from within the Custom Element visualization html page?

Chris Mugdan