Opendocument.jsp

I am trying to implement opendocument with the log in token. New to this. Environment is SAP BI 4.0 SP6 Java on Windows.
I have 2 questions
1. Where do I store new opendocument.jsp that I am creating
2. I do not understand the reason for this code in opendocument.jsp (this is taken from the example in the SAP document xi4_opendocument_en.pdf)
return ("http://<server>:<port>/BOE/OpenDocument/opendoc/openDocument.jsp?iDocID=Aa6GrrM79cRAmaOSMGoad
KI&sIDType=CUID&token=" + tokenEncode)
If the user calls in the urls with the new documents all the time does the code
iDocID=Aa6GrrM79cRAmaOSMGoadKI&sIDType=CUID from the url above limits to same document.
I am sure I do not understand this but can anyone explain how can I pass security token for multiple users calling multiple opendocuments
below the code I created for my opendocument.jsp
<%@ page import = "com.crystaldecisions.sdk.occa.infostore.*,
com.crystaldecisions.sdk.plugin.desktop.common.*,
com.crystaldecisions.sdk.framework.*,
com.crystaldecisions.sdk.occa.security.*,
com.crystaldecisions.sdk.exception.SDKException,
com.crystaldecisions.sdk.occa.managedreports.IReportSourceFactory,
java.util.Locale,
com.crystaldecisions.report.web.viewer.CrystalReportViewer,
com.crystaldecisions.sdk.occa.report.reportsource.IReportSource, java.net.*"
%>
<%
String serializedSession;
/* Set Enterprise Logon credentials. *
String cms = "";
String username = "";
String password = "";
String auth = "secEnterprise";
IEnterpriseSession enterpriseSession;
String token = "";
/* Log onto Enterprise and serialize the Enterprise Session. */
enterpriseSession = CrystalEnterprise.getSessionMgr().logon(username, password, cms, auth);
String logonToken = enterpriseSession.getLogonTokenMgr().createLogonToken("",30,100);
String tokenEncode = URLEncoder.encode(logonToken, "utf-8");
String url = "http://<server>:8080/BOE/OpenDocument/opendoc/openDocument.jsp?token=" + tokenEncode+"&iDocID=AeKTiOvM_DpBgQ9xiEPt7NE&sIDType=CUID";
response.sendRedirect(url);
%>
I will appreciate all the comments and responses.
Regards,
Igor Cotler

Thanks Prithvi,
I thought so that this is one of the extra folders with in the lib folder.
After flowing your instructions I am successfully can log in in to the BI ( I can verify this by looking at the sessions in CMC). However I am not retrieving the document. Below are the steps I took.
1. Created the folders
C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps\testIC
C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps\testIC\WEB-INF
C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps\testIC\WEB-INF\lib
2. Copied jar files and the content of the folder external  from
C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib
to
C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps\testIC\WEB-INF\lib
C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps\testIC\WEB-INF\lib\external
3. Created the jsp file openDocument.jsp and saved it in
C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps\testIC
this is the code form the new openDocument.jsp file. Note: I did not yet follow your suggestion to use
String username = request.getParameter("username");
String password = request.getParameter("password");
I wanted to see if I can do it with the hard coded values before I can start modifying the jsp.
Note: cms, username and password are intentionally left blank here values are hard coded in my environment
<%@ page import = "com.crystaldecisions.sdk.occa.infostore.*,
com.crystaldecisions.sdk.plugin.desktop.common.*,
com.crystaldecisions.sdk.framework.*,
com.crystaldecisions.sdk.occa.security.*,
com.crystaldecisions.sdk.exception.SDKException,
com.crystaldecisions.sdk.occa.managedreports.IReportSourceFactory,
java.util.Locale,
com.crystaldecisions.report.web.viewer.CrystalReportViewer,
com.crystaldecisions.sdk.occa.report.reportsource.IReportSource, java.net.*"
%>
<%
String serializedSession;
/* Set Enterprise Logon credentials. */
        String cms = "";
        String username = "";
        String password = "";
        String auth = "secEnterprise";
        IEnterpriseSession enterpriseSession;
        String token = "";
/* Log onto Enterprise and serialize the Enterprise Session. */
enterpriseSession = CrystalEnterprise.getSessionMgr().logon(username, password,cms, auth);
String logonToken = enterpriseSession.getLogonTokenMgr().createLogonToken("",30,100);
String tokenEncode = URLEncoder.encode(logonToken, "utf-8");
%>
4. Restarted the Tomcat.
5. the URL was run from IE on the server the second URL was run form the laptop on the network
http://localhost:8080/testIC/openDocument.jsp?sIDType=CUID&iDocID=AfTbB1xCfQFLixKrcLSn.to&token=tokenEncode
http://<servername>:8080/testIC/openDocument.jsp?sIDType=CUID&iDocID=AfTbB1xCfQFLixKrcLSn.to&token=tokenEncode
The results are the same. Able to log in into the system credentials are passed through the token (verified through CMC) but the document requested does not coming back. The document is the test document without any prompts.
Any mistakes do you see in my code or steps. Can you make any suggestions to debug the problem.
Regards,
Igor Cotler

Similar Messages

  • Error when trying to open a WEBI report with OpenDocument.jsp

    I have a weird problem, i'm trying to open a WEBI report with OpenDocument.jsp and I get the following error message
    An error has occurred: Could not find the document.
    the weird thing is that this error only occurs when i use Internet Explorer.  When i use the same link with Google Chrome, i see my report.
    How do I make this work, our standard web browser is Internet explorer.
    here is a sample link i use to call my report.
    http://<server>:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AVGrgQALGJZGipKCfjPPZ3g&sIDType=CUID
    Our BO environment is :
    BO XI 3.1 sp2 fp 2.3
    tomcat 5.5 front-end

    Hi,
    I don't know how much this solution will help you but it is worth trying.
    SAP Note: 1198844
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3131393838343426]
    Regards,
    Bashir Awan

  • Passing date to xcelius dashboard using openDocument.jsp

    Hi.
    I created a xcelsius dashboard that uses WEBI report through live-office connection. this dahsboard was uploaded to BO server (InfoView), and I am using openDocument.jsp to view it. ht ejsp gets parameters that I use to set prompts.
    Well, for numbers and strings it works fine, but when I try to pass dates, I get the following error:
    I am using Xceslis 2008
    Cannot Access External Data
    For input string: "31/12/2010" (LO 26000)
    I am using the following URL to open the document:
    http://nextgen-zone:4400/OpenDocument/opendoc/openDocument.jsp?sKind=flash&sRefresh=Y&sDocName=AOF_test_XCLSS_2&sPath=[Help]&lsSK4=2&lsSK1=1&lsSK2=Udiii
    The parameters are passed to some cells in the excel sheet (using Flash Variables in the Data Manager), and it then passed to the Live Office using "Modify Object" -> Prompt Setting.. and then selecting "Choose Excel data range" and selecting some  cell (from the Live Office menu in excel).
    I put some "debug" table in the dashboard, and I see that the date is passed OK to the sheet, therefore, I think that the problem is when the parameters values are passed to the WEBI/Live Office from the sheet, and not from the jsp to the dashboard.
    How can this issue be solved ?
    Thanks  a lot,
    Ehud.

    Try to bind a constant value (same as the one you pass over the flash variable) to the parameter of your LO connection and see if it works. I do believe that the value passed can be a problem here (you may need a key and not the descriptive value).
    Regards,
    Stratos

  • OpenDocument.jsp help needed

    I am trying to configure a URL link to a crystal reports.
    This has been done
    1. Crystal reports created, connected to SAP.
    2. Report saved to CMS.
    3. Run, Viewed last instance in Infoview.
    I would like to create a URL to view this report, so I have this.
    http://hostname:port/OpenDocument/opendoc/openDocument.jsp?docid=7941&sInstance=Last
    I get directed to a logon page. the logon page has url properties of this:
    http://hostname:port/PartnerPlatformService/service/app/logon.do?appKind=InfoView&service=%2FOpenDocument%2FappService.do&backContext=%2FOpenDocument&backUrl=%2Fopendoc%2FopenDocument.jsp%3Fdocid%3D7941%26appKind%3DInfoView%26isApplication%3Dtrue%26sInstance%3DLast&backUrlParents=1&appName=OpenDocument&prodName=BusinessObjects+Enterprise&cmsVisible=false&cms=hostname%3A6400&authenticationVisible=false&authType=secEnterprise&sso=true&sm=false&smAuth=secLDAP&persistCookies=true&sessionCookie=true&useLogonToken=true
    I logon with crystal admin user
    And I get the page http://hostname:port/PlatformServices/service/app/error.do
    An error has occurred: An error occured while trying to view the document
    Any direction as to what has gone wrong is greatly appreciated! Thank you!

    Hi,
    do you use docid or iDocID in your URL. Please note that the parameter names are case-sensitive.
    I would recommend to take a look at the documentation in order to identify the correct syntax for your URL
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf]
    Regards,
    Stratos

  • Opendocument.jsp path incorrect when used within Crystal

    Post Author: Tilghmank
    CA Forum: General
    I am trying to find out how to change the Opendocument.jsp path with Crystal Reports.  The problem appears to be the "Infoview/plugin" part of the path.  I am using webelements from Crystal with the WETargetPath() function. 
    undefinedhttp://mylocalname
    JSP Processing Error
    HTTP Error Code:   404
    Error Message:
    JSPG0036E: Failed to find resource /InfoView/plugin/opendoc/openDocument.jsp
    Root Cause:
    java.io.FileNotFoundException: JSPG0036E: Failed to find resource /InfoView/plugin/opendoc/openDocument.jsp     at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.findWrapper(JSPExtensionProcessor.java:268)     at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:250)     at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java(Compiled Code))     at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java(Compiled Code))     at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java(Compiled Code))     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))     at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))     at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

    Post Author: V361
    CA Forum: General
    You could try creating a formula, for example
    WhilePrintingRecords;PageNofM
    and use the formula, hopefully, CR will be able to calculate the correct page count.

  • Opendocument.jsp in iframes in BOBJ R3

    Using  BOBJ Relesase 2 we created a dashboard using iframes and targeting each ifreame to a crystal report with opendocument'jsp.  Each report had a target object (chart) to set the focus for the viewer.  Only issue was a default margin in the viewer that was in the DHTMLViewer.jsp page that needed to be set to zero.  Once this was corrected the report would fill the iframe perfectly.
    We are now in the process of migrating to R3 and have found the updated viewer uncooperative and have a couple of issues:
    All around the chart there is a margin in the viewer.  I have changed the page settings to remove the report margins but it looks like I need to find the built in margin on the viewer.  Does anyone know where the margin values are kept
    The actual frame of the viewer also appears in the hub,  Can this be turned off?  Especially annoying is that we use web elements to suppress the toolbars and when this si done the footer of the report expands.
    Thanks in Advance
    Jack

    hello Jack,
    not sure if this will help out here but there are a couple of opendocument parameters that you can try...
    append these to the end of your opendocument url to see if this changes the margins...at least they will help you in formatting with the new viewer...
    &toolbar=hide
    &drilldowntabs=hide
    &sReportMode=weblayout
    as an example you may be calling a report in your iframe similar to the following...
    WETargetPath ("rpt","Name", "myreport", "weTarget=quadrantA&toolbar=hide&drilldowntabs=hide&sReportMode=weblayout")
    toolbar=hide - part of the new javascript sdk wherein you can use this switch in an opendoc link to hide the toolbar, instead of using webelements
    drilldowntabs=hide  - especially usefull for getting rid of those tabs that pop up in drill down in the new viewer
    sReportMode=weblayout - changes background and orientation back to older viewer as close as possible...note that you will still have a frame around the viewer...nothing you can do about that frame
    i hope that this may help to resolve your issue.
    cheers,
    jamie

  • WEBI Opendocument.jsp link

    I am trying to use OpenDocument.jsp to open another WEBI report based on the drilled values of the first report. I have come accross two problems:
    1) How can I use a URL in a crosstab without it showing every combination of the fields in the URL? (i.e. I want the cross tab to show Region level information but I also want to drill down to a more granular level whilst following this with the URL)
    2) If one of my parameter values includes any spaces the open document link doesn't work even if the parameters are URLEncoded.
    Any ideas?

    I think I have worked it out!
    Please see the example below:
    =
    If(IsError(ReportFilter([Customer : Branch Number])) OR Count([Customer Name]) > 1;
      If(IsError(ReportFilter([Customer Name])) OR Count([Group Corporation Name]) > 1;
        If(IsError(ReportFilter([Group Corporation Name])) OR Count([Salesman Name]) > 1;
          If(IsError(ReportFilter([Salesman Name])) OR Count([Sales - Sector Name (INV)]) > 1;
            If(IsError(ReportFilter([Sales - Sector Name (INV)]));
              "Error in report";
              [openDocumentURL] + "&sReportName=Sector&sRefresh=Y&lsMSector=" +
              URLEncode(ReportFilter([Sales - Sector Name (INV)])) +"'>View sector level info</a>");
            [openDocumentURL] + "&sReportName=Salesman&sRefresh=Y&lsMSalesman=" +
            URLEncode(ReportFilter([Salesman Name])) +"'>View salesman level info</a>");
          [openDocumentURL] + "&sReportName=Group&sRefresh=Y&lsMGroup=" +
          URLEncode(ReportFilter([Group Corporation Name])) +"'>View Group Corp level info</a>");
        [openDocumentURL] + "&sReportName=Cust&sRefresh=Y&lsMCustomer=" +
        URLEncode(ReportFilter([Customer Name])) +"'>View customer level info</a>");
      [openDocumentURL] + "&sReportName=Branch&sRefresh=Y&lsMBranch=" +
      ReportFilter([Customer : Branch Number]) +"'>View branch level info</a>")
    What this does is it basically checks the level of information displayed in the Cross-tab (useful for drill-down) and returns the corresponding hyperlink.
    I hope this is useful to someone.
    Edited by: Andy Lord on Jul 15, 2008 11:22 AM

  • OpenDocument.jsp in BI On Demand

    Hi all,
    I'm trying to use opendocument.jsp funcionality in BI On Demand and I could not achieve my objective ;). I want to drill down from a Xcelsius to a Webi, is it possible? has anyone done it before? which are the steps)
    Many thanks!

    Ideally,  this should work making an open document call.  For example,  it is possible to integrate a report into Sales Force Dot Com using open document.
    https://bi.ondemand.com/open_doc/open_document?iDocID=whatever&sType=wid
    lsS can be used for a parameter.
    lsM can be used for parameters

  • CR Server 2008 / Using openDocument interface with a no-logon wrapper

    Hi, all!
    I had a problem with the openDocument.jsp interface and a no-logon wrapper which took me quite a while to figure out. I'm now posting these results here in the hopes that someone else will find them useful. Of course, if anyone has input how to improve the solution, it's also welcome!
    The system on which this was developed and tested was a vanilla Crystal Reports Server 2008 installation on Tomcat / MySQL / Windows Server 2003.
    The problem was that calls to openDocument interface left sessions open and this quickly led to the situation where all the concurrent access licenses (CALs) were used. It seemed nondeterministic when a session was released; it could have been minutes or hours.
    The solution: write a HTTP session timeout listener which logoffs the CRS-backend session. (The code below has still some dubug output enabled.)
    package fi.niscayah.util;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import javax.servlet.http.*;
    import java.util.Date;
    import java.util.Enumeration;
    import java.text.SimpleDateFormat;
    public class KillSession implements HttpSessionListener
        public void sessionCreated(HttpSessionEvent event)
            debug("sessionCreated()", event);
        public void sessionDestroyed(HttpSessionEvent event)
            HttpSession session = event.getSession();
            try {
                java.util.Enumeration name = session.getAttributeNames();
                while (name.hasMoreElements()) {
                    String attributeName = (String)name.nextElement();
                    Object attribute = session.getAttribute(attributeName);
                    if((attribute != null) && (attribute instanceof IEnterpriseSession)) {
                        debug("  attribute : " + attributeName);
                        debug("  type      : " + attribute.getClass().getName());
                        IEnterpriseSession ies = (IEnterpriseSession)attribute;
                        ies.logoff();
                debug("sessionDestroyed()", event);
            } catch (Exception ex) {
                debug("sessionDestroyed() exception");
        private void debug(String msg)
            SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
            String timestamp = sdf.format(new Date());
            System.err.println("[KillSession] [" + timestamp + "] " + msg);
        private void debug(String msg, HttpSessionEvent event)
            HttpSession session = event.getSession();
            String id = session.getId();
            String context = session.getServletContext().getServletContextName();
            debug("[" + context + "] [" + id + "] " + msg);
    (If you want to test the above code, create a .jar package out of it and put it in webapps/OpenDocument/WEB-INF/lib.)
    Next we need to register our listener. I noticed that the openDocument-webapp's web.xml-file already contained a listener definition that claimed to expire enterprise sessions on HTTP timeout. I never saw such results; I tested it by registering my own listener, which only outputted debug information, and then when ever a session timeout happened, I checked the amount of licenses in use via the CMC - it never dropped predictably.
    So, comment out the SessionCleanupListener and add KillSession.
    <!-- SK: Added own listener. -->
    <listener>
        <listener-class>fi.niscayah.util.KillSession</listener-class>
    </listener>
    <!-- SK: Commented out. -->
    <!-- SessionCleanupListener is used to expire the EnterpriseSession when the web session is timeout -->   
    <!-- <listener>
        <listener-class>com.businessobjects.sdk.ceutils.SessionCleanupListener</listener-class>
    </listener> -->
    After the above, change the HTTP session timeout to something more suitable. If you're creating really big reports, one minute might be too little. Also notice, that the value is an approximation. The timeout event might happen just as one minute has passed, but usually it takes more.
    <session-config>
        <session-timeout>1</session-timeout>
    </session-config>
    Now we're good to go and test the openDocument interface. The result should be that every time a HTTP session timeouts, an enterprise session (which was initialized via the openDocument call) is logged off.
    Next the no-logon wrapper.
    I found a lot of examples for logging in automatically, but every one of them exhibited a strange behavior (at least when used in conjunction with the openDocument interface) where the session count was increased by two. A lot of head scratching later, the solution below was devised.
    <%@ page language="java"
        import = "com.crystaldecisions.sdk.framework.CrystalEnterprise,
                  com.crystaldecisions.sdk.framework.IEnterpriseSession,
                  com.crystaldecisions.sdk.framework.ISessionMgr,
                  com.crystaldecisions.sdk.exception.SDKException"
    %>
    <%
    ISessionMgr sessionManager = CrystalEnterprise.getSessionMgr();
    IEnterpriseSession entSession = sessionManager.logon("Guest", "", "<server>:6400", "secEnterprise");
    String entToken = entSession.getLogonTokenMgr().createWCAToken("", 1, 1);
    // So that this can be logged off when the session timeouts
    HttpSession httpSession = request.getSession();
    httpSession.setAttribute("nologon_SESSION", entSession);
    String query = request.getQueryString();        
    String redirectURL = "http://<server>:8080/OpenDocument/opendoc/openDocument.jsp?" +
        query + "&token=" + entToken;
    response.sendRedirect(redirectURL);
    %>
    You can put the above .jsp-file where you like, but I dropped it in webapps/openDocument, since it's no use by itself.
    The use of nologon.jsp is simple: use it as you would openDocument.jsp.
    And there you have it. A word of warning though, if you're not sure what you're doing, I wouldn't recommend trying these things out. And you certainly shouldn't deploy these on a production environment.
    As said before, any input is welcome!

    I'll comment on the BusinessObjects Enterprise logon tokens that you may generate via the Enterprise SDK.
    DefaultToken - this is used for failover - i.e., if the original EnterpriseSession object is destroyed without having logoff() method invoked, the failover can be used to re-connect to Enterprise without redo-ing authentication.  This token is immediately invalidated with EnterpriseSession.logoff().
    CreateLogonToken - token represents an EnterpriseSession independent of the original EnterpriseSession that generates it.  So you should generated the CreateLogonToken and log off the EnterpriseSession before using the token, or you'll have two licenses being used.
    CreateWCAToken - the Web Component Adapter token - this token is tied to the EnterpriseSession used to create it.  If this EnterpriseSession is invalidated, the WCA token can no longer be used.  Since this is essentially re-use of the original EnterpriseSession, license count is not increased with its use.
    So in your application, you're generating the WCA Token, and using the Session Listener to explicitly log off the originating EnterpriseSession.  The SessionCleanupListener is for cleaning up sessions created within InfoView on Web Application Server Session timeout.
    Sincerely,
    Ted Ueda

  • Creating a new Web Intelligence document using OpenDocument (requires an existing document?)

    We use the OpenDocument interface to embed the Web Intelligence viewer in our web application.  One of the problems we're having is that the code appears to require a valid document ID, even if all you want to do is create a new document (passing the noDocument=true flag, so that the application opens with no document at all).
    I've tried various permutations of the following, with no success, always getting this error message (An error occurred: Could not find the document)
    E.g:
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true...
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true&iDocID=...
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true&iDocID=-1...
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true&iDocID=0...
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true&sDocName=...
    http://bo-server:8080/BOE/OpenDocument/opendoc/openDocument.jsp?noDocument=true&sDocName=new...
    It appears the only way to get OpenDocument to allow you to do this is to use an existing WebI document ID.  That is to say you can't create a new document unless you already have an existing document to include in the call to the JSP.
    This limitation appears to be artificial and only on the OpenDocument interface -- You can create new documents in Launchpad without having an already existing document to point to.  Documenting the workaround for this, having people installing the product first make a webi and save it, then configuring it so it has read-only permissions (so it doesn't accidentally get deleted), then configuring our application to lookup the ID isn't the most elegant of experiences.
    I was wondering if anyone had run into this before and/or if anyone at SAP could look into it?  I'm hoping it's an easy limitation/bug to fix.
    This limitation affects 4.1 SP4 and probably older versions of the OpenDocument interface.  See also:
    Embedding Java Webi Report Panel in Custom Application - Business Intelligence (BusinessObjects) - SCN Wiki
    Thanks!

    There is a feature request to request addressing this limitation here.  If you're interested, please vote it up!
    OpenDocument &quot;New Report&quot; feature from a Universe Identifier : View Idea

  • OpenDocument URL to open a Webi Report

    hi,
    We are using OpenDocument URL to link Webi Documents to another one. Right now all the prompts are there in Webi Layer it self. In the new Project the universes will be pointing to BEx queries and they will have all prompts in the BEx layer itself. So in Webi layer we dont have to create prompts. My question is can we use same openDocument syntax(sample url when prompts are in Webi Layer--- http://Server:port/OpenDocument/opendoc/openDocument.jsp?
    sType=wid&iDocID=49543&sRefresh=Y&sWindow=New&lsSEnterYear=2006&lsMEnterState=Colorado) to pass parameters eventhough prompts are there at BEx layer?
    Also in case we are in the same session,by default iOpenDocument will take that logon token and SSO will happen. How do we force OpenDocument to Prompt for logon credentials even though the session is open.
    Could you please help?
    Thanks
    Aravind

    Hi Cuttle,
    This is a known question and there is also a record in our system. Thanks for your infomation!

  • Passing a Prompt value to Webi using Xcelsius with OpenDocument

    -Operating System: Windows XP
    -OS Patch level: Service Pack 3
    -Office Version: 2007
    -Flash Player version: 10
    -Xcelsius Version and Patch Level: Enterprise 2008 with SP2 (version: 5.2.0.0)
    -Xcelsius Build number (Help>About Xcelsius): 12,2,0,608
    -Business Objects Enterprise version/patch level (if applicable): Edge 3.1
    -Issue Description:
    I'm trying to open a Webi Document from my Xcelsius dashboard and pass the value for the prompt "Region".  Ultimately I want to have this value determined by the drill down from a chart but at the moment I cannot get it to work even by adding the value at the end of the URL.  The webi report opens but the user is given the prompt option and asked to select the value, where I want to pass this so it automatically shows the selected region.
    The URL I'm currently using is:
    http://"servername":8081/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&sDocName=Regional_Drilldown&mode=full&nbPrompts=1&lsSRegion=South
    I have double checked the report and the prompt is definitely called "Region" and "South" is a valid region.
    I would be very grateful for some help.
    Many thanks
    Robert Peters

    Hi Robert
    I would take out the reference to the number of prompts to give:
    http://"servername":8081/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&sDocName=Regional_Drilldown&mode=full&IsSRegion=South
    If you copy and paste the url into a browser does it sucessfully find the document?
    Regards
    Charles

  • Issue in keeping the InfoView session valid using Custom JSP Open Document

    Hi
    We are using OpenDocument URL in custom JSP to show BO Web Intelligence Document.  The documents are opening fine but some of our WebI documents have links to other WebI document,  when the link is clicked it takes to Info View Login Page.
    If I login and logout once from InfoView then the WebI document links work fine.
    Can you please guide me on how to make the session valid for WebI internal links?  Do I need to create a Cookie or use URL Encoding?
    Following is the sample JSP code:
    <%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
    <%@ page import="com.crystaldecisions.sdk.framework.CrystalEnterprise" %>
    <%@ page import="com.crystaldecisions.sdk.framework.IEnterpriseSession" %>
    <%@ page import="com.crystaldecisions.sdk.framework.ISessionMgr" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoStore" %>
    <%@ page import="com.crystaldecisions.sdk.occa.security.ILogonTokenMgr"%>
    <%
    try{
    String systemName = "ServerName";
    String userName = "user";
    String password = "pass";
    String authType = "secEnterprise";
    IEnterpriseSession enterpriseSession=null;
    if (enterpriseSession == null)
    ISessionMgr enterpriseSessionMgr = CrystalEnterprise.getSessionMgr();
    enterpriseSession = enterpriseSessionMgr.logon(userName, password, systemName, authType);
    ILogonTokenMgr logonTokenMgr = enterpriseSession.getLogonTokenMgr();
    String defaultToken = logonTokenMgr.createWCAToken("",20,10);
    response.sendRedirect("http://boServer:port/OpenDocument/opendoc/openDocument.jsp?iDocID=16894&token="+defaultToken);
    catch(Exception e)
    e.printStackTrace();
    %>

    Thanks Aasavari for responding. My problem is solved. 
    I need not create any cookie or create token using getLogonToken
    Some of the URLs in the webi documents were incorrect and so Info View was taking to the Info View Login page.  
    But I am surprised though why info view not complain about incorret and rather takes to the login page.
    Thanks for your help again.

  • Passing a date range to a Crystal Report using OpenDocument

    Hi,
    I am trying to call up a Crystal report in InfoView using a hyperlink with the OpenDocument function call.
    It is working fine with the following URL:
    http://<server name>:<port>/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=ARcnOcErTA1FidjRJ_sT0Yw&sType=rpt&sRefresh=Y&lsSCompany+Code=1300&lsMCost+Center=[12345],[67890]&lsSCost+Element=0000100123
    However, once I added the date range into the parameter string, like this:
    http://<server name>:<port>/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=ARcnOcErTA1FidjRJ_sT0Yw&sType=rpt&sRefresh=Y&lsSCompany+Code=1300&lsMCost+Center=[12345],[67890]&lsSCost+Element=0000100123&lsRFiscal+Year+Period=[Date(1,1,2011)..Date(1,9,2011)]
    It returns an error message, "An error has occurred: java.util.Date ", to my browser.
    I am wondering if I am missing any Java library or Java class path.
    Any thoughts are appreciated.
    Joyce
    Edited by: Joyce Chan on Aug 30, 2011 12:25 PM

    How do I check if the parameter passing in is in date type?
    the following is exactly what I've tried:
    &lsRFiscal+Year+Period=[Date(2010,10,10)..Date(2010,10,15)]
    Would the error message be logged in the server, maybe I can find more information for the error log?

  • How to provide multiple links in a single JSP

    Hi Experts,
    I am done with a single doc link in jsp file ,now my requirement is to use a single jsp file for multiple docs.
    Like I have 10 WEBI reports and I want to open it from separate application without passing BO user name and password .Can I achive it with a single JSP.
    Please advice how to do it.

    Hi Vikas,
    You can use something like the below code
    ===================================
    <%@ page import="com.crystaldecisions.sdk.framework.CrystalEnterprise" %>
    <%@ page import="com.crystaldecisions.sdk.framework.IEnterpriseSession" %>
    <%@ page import="com.crystaldecisions.sdk.framework.ISessionMgr" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoStore" %>
    <%@ page import="com.crystaldecisions.sdk.occa.security.ILogonTokenMgr"%>
    <%@ page import = "com.crystaldecisions.sdk.framework.*"%>
    <%@ page import = "com.crystaldecisions.sdk.properties.*" %>
    <%@ page import = "com.crystaldecisions.sdk.framework.*" %>
    <%@ page import = "java.util.*" %>
    <html>
    <body>
    <%
    IEnterpriseSession eSession = null;
    try
      String CMS = "cmsname";
       String username = "username";
      String password= "password";
       String Auth = "secEnterprise";
      ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();
      eSession = sessionMgr.logon(username,password,CMS,Auth)
      ILogonTokenMgr logonTokenMgr = eSession.getLogonTokenMgr();
      String defaultToken = logonTokenMgr.getDefaultToken();
      String open = "http://localhost:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AZQxKFpLb2JDqfKNxVI_10g&sIDType=CUID&token="+defaultToken;
      String open1 ="http://localhost:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AUGC0aj3IsdDngyQfsguyjw&sIDType=CUID&token="+defaultToken;
      String open2 ="http://localhost:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AXDEPU6w1J1Bgp69rr7Ir0c&sIDType=CUID&token="+defaultToken;
      String open3 ="http://localhost:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=ATL0N_2D8JNDmx.DblcXoMM&sIDType=CUID&token="+defaultToken;
    %>
    <div align="center">
    <b>Open Document Sample Application</b>
    </div>
    <br />
    <br />
    <b>Select Reports List:</b><br />
    <br />
    <a href = "<%= open %>" target= "myframe">Report1</a><br />
    <a href = "<%= open1 %>" target= "myframe">Report2</a><br />
    <a href = "<%= open2 %>" target= "myframe">Report3</a><br />
    <a href = "<%= open3 %>" target= "myframe">Report4</a> <br />
    <iframe src="" name="myframe" width="900" height="500" align="center">
    </iframe>
    <%
    out.println("<br />");
    catch(Exception e)
      out.println(e.getMessage());
    %>
    </body>
    </html>
    ================================================
    Thanks,
    Prithvi
    Message was edited by: Prithviraj Shekhawat

Maybe you are looking for

  • ICal suggestion

    I would like to make a suggestion to iCal. in Month View of Calendar, there is no Weeks of the year. For example, November 17th~23rd is the 42nd week of the year. Can Apple add this info at the side of Calendar? Much obliged.

  • Error while configuring Web service Navigator

    Hi Every one, I installed the "NW Sneak preview" 640 with SP11. I created the a Web service for the Java Bean and deployed it. But i am not able to see the deployed Web service in the "Web service Navigator". When i tried to configure it, i am gettin

  • [v4l-dvb] xc5000 driver won't load, invalid module format

    Hi, I recently got a Piccacle PCTV HD Pro Stick for christmas, and have been trying to get it to work. I followed this page, and everything worked, but when I try to load the module xc5000, it gives me the error: FATAL: Error inserting xc5000 (/lib/m

  • Post a mail on a particular date

    We have developed a site for a greeting shop.. Here we have few sanple cards to be send on an occassion. The problem here is, we need to send a mail on some other day(day selected by him - greater than today) automatically. like in greetings.yahoo.co

  • Lost movie in crash, but on iPod - How to get back to laptop?

    I bought a movie on my laptop iTunes and synched it to my iPod and my husband's iPhone. A week or so later my laptop hard drive crashed. Yes, I had not run a back-up in between. My bad. We lost no other content - just this movie. It shows up in iTune