cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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

0 Likes
View Entire Topic
Yogananda
Product and Topic Expert
Product and Topic Expert
0 Likes

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.