Skip to Content
0
Former Member
May 02, 2012 at 01:11 PM

How to get bttoken on long for BO 4.0

305 Views

A workspace/report, new in 4.0, needs this bttoken. I am not getting it on login yet the 4.0 infoview app, now BI Launchpad, does get the bttoken. How does it do it?

Here's my code;

enterpriseSession = sessionMgr.logon(getUsername(), getPassword(), host + ":" + port, authMethod);

if (enterpriseSession != null)

{

setToken(enterpriseSession.getLogonTokenMgr().getDefaultToken());

setToken(URLEncoder.encode(getToken(), "UTF-8"));

}

This is the standard login token but not the bttoken.

Thanks in advance.