Quantcast
Channel: SCN : Popular Discussions - Java SDK Application Development
Viewing all articles
Browse latest Browse all 1701

Edit Document in Webi Applet

$
0
0

Hi,

 

If I have all the information to identify a webi report, how do I load it directly in the Java Report Panel applet?

 

Here is the java code I have to get the Instance ID:

reportEngine = (ReportEngine) boSession.getService("", "WebiReportEngine");
cdzSessionId = reportEngine.createServerInstance(report_si_id);
webiSessionId = cdzSessionId.substring(0, cdzSessionId.indexOf(','));

 

And in my xhtml page I have:

 

<object code="com.businessobjects.wp.tc.TCMain" codebase="#{request.contextPath}/applet/business-objects/" archive="ThinCadenza.jar" style="width: 100%; height: 600px; padding:0; margin: 0">             <param name="CODE" value="com.businessobjects.wp.tc.TCMain" ></param>            <param name="CODEBASE" value="#{request.contextPath}/applet/business-objects/"></param>             <param name="ARCHIVE" value="ThinCadenza.jar" ></param>            <param name="type" value="application/x-java-applet;version=1.4"></param>             <param name="Isapi" value="#{request.contextPath}/cdzServlet"></param>             <param name="Server" value="#{request.serverName}"></param>             <param name="Protocol" value="https"></param>             <param name="Port" value="#{request.serverPort}"></param>             <param name="Type" value="signed"></param>             <param name="WebiSession" value="#{boExplorer.webiSessionId}"></param>             <param name="CdzSession" value="#{boExplorer.cdzSessionId}"></param>             <param name="DocumentID" value="#{boExplorer.report_si_id}"></param>             <param name="NewDoc" value="false"></param>            <param name="RepoType" value="personal"></param>             <param name="UniverseID" value="UnivCUID=#{boExplorer.universeCuid}"></param>             <param name="bRobot" value="false"></param>             <param name="bTraceInLogFile" value="false"></param>             <param name="HelpRoot" value="#{request.contextPath}"></param>             <param name="SaveAs" value="#{request.contextPath}/save?unvId=#{boExplorer.universeCuid}"></param>             <param name="Lang" value="en"></param>            </object>

 

When the page loads I get "A document with this name does not exist". I know that the document si_id that is being passed in is correct. I can also get the applet to load a new query if I just remove the DocumentID and NewDoc params. Any ideas?

 

Thanks

 

Tim


Viewing all articles
Browse latest Browse all 1701

Trending Articles



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