Using OpenDocument.jsp to open Xcelsius SWF

I am using the URL Link Button in one SWF to try to drill into another SWF, but I keep getting the following error

Report Linking Error

There was an error retrieving data from the server:
The object was not found.

Below is the code I am using. This same method works when linking to webi, so I am thinking I don’t have the correct sType value.

http://dmpredev:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sDocName=Sample+Admit+Line+Chart&[ClientConnect],[MHSA],[CC+Xcelsius+SWF+Files]&sType=swf

trwaves :us: (BOB member since 2006-10-10)

did you ever find solution to your problem, we are facing the similar issue. thanks


bobjUser786 :us: (BOB member since 2006-12-13)

BOBJ support pointed me to a OpenDocument white paper that indicates that the only formats availible with OpenDocument are WebI, Crystal, DeskI, and OLAPI. OpenDocument will not work with Xcelsius as the target. :x


trwaves :us: (BOB member since 2006-10-10)

try this using this url I can now launch the swf file:
http://<your_server>/businessobjects/enterprise115/InfoView/plugin/crystalenterprise/flash/openFlash.jsp?DocumentId=<your_doc_id>


bobjUser786 :us: (BOB member since 2006-12-13)

well first try was unsuccessful. I’m getting the following Apache Tomcat error.

The requested resource (/enterprise115/InfoView/plugin/crystalenterprise/flash/openFlash.jsp) is not available

Are you using the .NET or the Java version of BOE? I will continue to work with this to see if I can modify teh code for my server.

Thanks for sharing.


trwaves :us: (BOB member since 2006-10-10)

We are using Bobj XI R2, java version. May be the location of your jsp resource is different based on your configuration. This feature is not documented any where. The way I found out is deployed a swf file to your server than. Once you select the swf file to be displayed from the infoview, pay close attention to the status bar. You should see the url that infoView uses to launch the swf file. I recorded the same url to link the swf files and it worked.


bobjUser786 :us: (BOB member since 2006-12-13)

That’s the ticket!!! I had an extra folder to include (enterprise115/desktoplaunch/InfoView) and it works perfectly. Thanks for the guidance. Your last post was very helpful.


trwaves :us: (BOB member since 2006-10-10)

hello,

I’m interested in doing the same thing.

could you detail what you did for the folder ??

thanks in advance


ausylan :fr: (BOB member since 2005-01-10)

I published the SWF out to BOE. I repeatedly opend the SWF from BOE and made particular note in the system to the URL that the system was using to call the SWL. I had and additional folder in my link
Here is my link as constructed:

http://dmpredev:8080/businessobjects/enterprise115/desktoplaunch/InfoView/plugin/crystalenterprise/flash/openFlash.jsp?DocumentName=<object_name>&amp;RepositoryType=C&amp;RepositoryName=<Folder_Name>+Files&amp;DocumentExt=swf&amp;DocumentId=AVaSUu07rYhAsrqW9CFsWsY&amp;mode=full

Notice the bobjUser786’s path did not include the desktoplaunch directory.

Hope this helps.


trwaves :us: (BOB member since 2006-10-10)

When I try using following URL,

http://boserver:8080/businessobjects/enterprise115/desktoplaunch/InfoView/plugin/crystalenterprise/flash/openFlash.jsp?DocumentId=19062

I’m getting this error


javax.servlet.ServletException: bean CE_Session not found within scope
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
	org.apache.jsp.InfoView.plugin.crystalenterprise.flash.openFlash_jsp._jspService(openFlash_jsp.java:143)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Any clues?


fermisoft (BOB member since 2007-08-22)

OpenAnalytic.jsp is another option. I Use this to open Excelcius SWF files. The Code is below :

http://<SRVNME>/businessobjects/enterprise115/desktoplaunch/jsp/openAnalytic.jsp?DocumentName=Volume+Statistics&amp;RepositoryType=C&amp;RepositoryName=Xcelcius&amp;DocumentExt=&amp;DocumentId=Absrp9izsXJBn.kevvby6Cg&amp;mode=full 

Shobhit_Acharya (BOB member since 2005-08-11)

Infact … I was able to get it working with OpenDocument also … Just keep the sType Null and dont mention the viewer type

http://<SRVNME>/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sType=&amp;sRepoType=Corporate&amp;iDocID=Absrp9izsXJBn.kevvby6Cg&amp;sIDType=CUID

Shobhit_Acharya (BOB member since 2005-08-11)

Are you able to pass on the session token as well?


fermisoft (BOB member since 2007-08-22)

There are 2 things…

“FLASH” is a supported docType or sType. So along with rpt and wid, you now can use “FLASH” if you are opening an Xcelsius swf.

You can also pass the session token along which Xcelsius will automatically consume. You must name the token parameter “CELogonToken” Xcelsius will consume this as a Flash Variable if you are using Live Office or QaaWS.


rgoodman :us: (BOB member since 2007-02-06)

I chose another way for rendering XCelsius dashboards, where I managed to create a web application in .Net which would stream the object to the browser. I’m able to pass on the flash variables via the dynamically generated HTML. Thank you guys.


fermisoft (BOB member since 2007-08-22)

Hi,

CELogonToken, is this a parameter of Opendocument.jsp which replaces the ‘token’ parameter. Or is this a flash variable I need to create in xlf file.

We are using Xcelsius and QaaWS and opening SWF file in a custom app. We have established a session with BOE. Wanted to confirm whether the method to open the SWF is the same as opening a WebI doc

Thank You.


mitesh_bhuta :us: (BOB member since 2005-07-27)

CELogonToken is an inbuilt flash variable added by the designer in all xcelsius dashboards. You don’t have to explicitly define it.

For rendering XCelsius dashboards in custom application, follow the same method as webi rendering. Make sure that you have the QAAWS URL mentioned in the web.xml (or Web.config for .Net opendoc)


fermisoft (BOB member since 2007-08-22)

I’m using the following open doc call to an Excelsius file in infoview

http://<server Name>:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?iDocID=1080263&amp;sKind=Flash

Initially it works fine, after repeated use, we get an error messege as indicated below:

Anyone have any ideas ?


citrix32 (BOB member since 2007-06-18)

Hi,
How did you open a swf located in Infoview in a custom web application? Opendoc URL?
Can you please let me know the steps you followed to do this?

Thanks.


msharma (BOB member since 2006-11-08)

open doc call with doc id of the swf file as indicated below

http://<server Name>:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?iDocID=1080263&amp;sKind=Flash

Works initially but after a while get error below.


citrix32 (BOB member since 2007-06-18)