Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Design studio Opendocument serialized session setup

$
0
0

I'm calling WEBI document from DS application using APPLICATION.openNewWindow class. It works fine except it asks for user credential while opening WEBI. I thought of implementing Serialized session technique as mentioned in SAP help document for OpenDocument. I'm new to JAVA SDK and API.

 

  • Can someone guide me if implementing Serialized session will not prompt for user credential? Also guide me step by step how to implement Serialized session.
  • Where should I write below code mentioned in help document (given below)?
  • Do I need to pass any parameter in my APPLICATION.openNewWindow syntax?
  • Is there any other easy way so as user credentials are not asked while opening target report?

 

String openDocumentSerSes() throws SDKException, UnsupportedEncodingException

    {

    IEnterpriseSession sess = CrystalEnterprise.getSessionMgr().logon

    ( "username",

    "password",

    "<cms>:<port>",

    "secEnterprise");

     

  String serSession = sess.getSerializedSession();

  String serSesEncode = URLEncoder.encode(serSession,"UTF-8");

return ( "http://<server>:<port>/BOE/OpenDocument/opendoc/openDocument.jsp

    ?iDocID=Aa6GrrM79cRAmaOSMGoadKI

    &sIDType=CUID

    &serSes=" +  serSesEncode

  ); }

 

Thanks,

Milind


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>