BusinessObjects Board

Launching a dashboard through OpenDocument

Has anyone here tried launching a dashboard directly using OpenDocument?

I’m finding that it’s opening 2 sessions - one for OpenDocument and one for QaaWS in the dashboard. Just wondering if you do this, how do you get round it opening up multiple sessions?

<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ page import="com.crystaldecisions.sdk.framework.CrystalEnterprise"%>
<%@ page import="com.crystaldecisions.sdk.framework.IEnterpriseSession"%>
<%@ page import="com.crystaldecisions.sdk.occa.security.ILogonTokenMgr"%>
<%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoStore"%>
<%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoObjects"%>
<%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoObject"%>
<%@ page import="org.ietf.jgss.GSSCredential"%>
<%@ page import="org.ietf.jgss.GSSManager"%>
<%@ page import="com.businessobjects.sdk.credential.CredExtractor"%>
<%
  IEnterpriseSession ceSession = null;
  String logonToken = null;

  //For Windows AD authentication the logon would be:
  GSSCredential creds = null;
  GSSManager manager = null;
        
  CredExtractor credExtractor = new CredExtractor(request);
  creds = credExtractor.GetCredential();
  manager = credExtractor.GetManager();
        
  ceSession = CrystalEnterprise.getSessionMgr().logon(creds, manager, "myCMS", "secWinAD");

  logonToken = ceSession.getLogonTokenMgr().createWCAToken("",5,20); 

  response.sendRedirect("http://myserver:8080/OpenDocument/opendoc/logonVintela.do?
appKind=InfoView&amp;iDocID=AU05HFfMc3BIiPkeJTV_qVA&amp;sIDType=CUID&amp;sKind=Flash&amp;lsSConnectionMaxRetryTimes=20&amp;lsSSuppressConnectionErrors=True&amp;CELogonToken="+logonToken) ; 


%>

using xcelsius 2008 (SP6) and XI 3.1 (SP6) if that matters.


adrian.procter :canada: (BOB member since 2006-09-26)