cancel
Showing results for 
Search instead for 
Did you mean: 

SWF Loader using OpenDoc links

Former Member
0 Kudos

I am having no luck using an opendoc link inside the SWF loader. Any suggestions?

Is my other choice to load the swf from a network location? I am able to load successfully that way (even run the data connections)

I've tried different variations of this link and all I get is the 100% screen, with no dashboard -

-SERVER-//OpenDocument/opendoc/openDocument.jsp?&iDocID=ARmopxdsSohMvuPJL67dARE&sIDType=CUID&sType=Flash

Xcelsius SP3, trying to load other xcelsius swf files already in infoview.

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I'll try all suggestions and update with any results - thanks for taking the time to answer!

Former Member
0 Kudos

I've tried a couple different variations of the documentDownload syntax - my system admin tells me that I need to use the syntax for XI3x, and I am still not having the most luck.

This is the syntax I am working with now -

http://SERVER:PORT/OpenDocument/opendoc/openDocument.jsp?sType=amw&sIDType=InfoObject&iDocID=480547

It is based on what the XP3 user guide is telling me (I am on SP3).

In both the SWF loader and slideshow component, the loading bar jumps to 100% and doesn't give me anything else, in developer or in preview.

I also tried all possiblities for 'application domain' - all with no luck.

Continued guidance needed - thank you!

Former Member
0 Kudos

Hi Darrell,

That is still the Open Doc syntax, it looks like there is a mistake in the docs for the XI3x syntax in the Opening InfoView SWFs from Xcelsius models section.

This document download syntax works for me in XI3x:

http://<server>:<port>/Xcelsius/opendoc/documentDownload?iDocID=<docid>&sKind=Flash&CELogonToken=<to...;

For example:

http://myserver:8080/Xcelsius/opendoc/documentDownload?iDocID=1234&sKind=Flash&CELogonToken=<token>

Regards

Matt

Former Member
0 Kudos

Thanks for all the continued help - we are getting warmer.

I am able to esablish a link to the published dashboards using that syntax, but am not completely clear how to pass the login token (or really where to find it). Can you offer any guidance for login token?

I think its the last part of the puzzle before I am able to use this functionality, which I am really excited about.

Thanks again -

Former Member
0 Kudos

Hi Darrell,

When running in InfoView BOE automatically passes the BOE logon token to the SWF as a Flash Var called CELogonToken.

To use the BOE logon token you need to add a Flash Vars connection in your Xcelsius model.

Add a Flash Var called CELogonToken and bind it to an empty cell in the spreadsheet (say B1).

Then in your dowcument download URL replace the <token> piece with a reference to the logon token cell (B1) instead.

Export your SWF to InfoView and you should now find that the BOE logon token is appended to the dowcument download URL.

Regards

Matt

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello, I've followed all the steps indicated in this thread but I am still unable to successfully launch the child SWF without seeing the login prompt.

I understand the concept that you need to include the u201CCELogonTokenu201D in the SWF Loader URL and it needs to point to the same cell that your Flash Variable is set up for. Then you need to replace the <token> with the cell ID

I configured the SWF Loader URL using the following syntax:

http://<servername>:8080/Xcelsius/opendoc/documentDownload?iDocID=5590&sKind=Flash&IsSCELogonToken=<...;

I played with multiple variationsu2026.including adding/removing u201CIsSu201D, all different version of the cell ID the full path, partial ID and just the cell (u201CVisability!$D$1u201D, u201C$D$1u201D, u201CD1u201D).

I added two label components to the parent SWF to confirm that I what was returning in my Flash variable (which is does) and to see if the flash variable was getting appended to my URL (which does not).

The farthest I get is that I can get the child SWF to load but it asks me for my logon credentials again.

What am I doing wrong?

Thank you,

Jon

Former Member
0 Kudos

Everyone -

Thanks again, all of the information was helpful to getting me to the final resolution.

I have found the combination that worked (side note:: when you create flash variables related to system variables, spell them correctly!)

At this point, I am able to open an already published dashboard using the syntax you suggested. Thanks again.

Former Member
0 Kudos

Hi,

I tried using the links provided

It gives me the below exception:

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.NullPointerException

com.businessobjects.clientaction.xcelsius.DocumentDownload.getSWFbyName(DocumentDownload.java:110)

com.businessobjects.clientaction.xcelsius.DocumentDownload.service(DocumentDownload.java:149)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Is there any modification required on the server side to run the DocumentDownload syntax.

I am able to view the swf using the opendoc syntax.

Help is appreciated.

Have breaking my head and reading so many forums and post for weeks. banghead.gif

Link which is working using opendoc:

https://ServerName/OpenDocument/opendoc/openDocument.jsp?sDocName=TestFile&sKind=Flash&iDocID=144902

Please help me with the link for using Documentdownload

Documentdownload link - not working:

https://ServerName/OpenDocument/opendoc/&sPath=[My Favorites]&downloadDocument?iDocID=XXXX&sKind= Flash

Also please let me know if documentdownload link would take me to the login page if the CELOGONTOKEN is not appended.

Note: I am able to get the CELOGONTOKEN successfull

Former Member
0 Kudos

The syntax you are using is not quite right for document download, it should be:

http://myserver:8080/Xcelsius/opendoc/documentDownload?iDocID=1234&sKind=Flash&CELogonToken=<token>

Regards

Matt

Former Member
0 Kudos

Hi thanks for the link.

Problem Solved

Link used:

https://myserver:8080/Xcelsius/opendoc/documentDownload?iDocID=1234&sKind=Flash&; isS CELogonToken=<token>

My server uses HTTP S

Edited by: chinmayfun on Mar 4, 2010 2:21 PM

Problem Solved

Edited by: chinmayfun on Mar 4, 2010 2:27 PM

Former Member
0 Kudos

Hi Darrell,

OpenDocument does not return the SWF which is why it does not work in a SWFLoader.

Instead look in the Xcelsius user guide for DocumentDownload instead (similar to OpenDocument but returns the SWF) and use that syntax with your SWFLoader.

Regards

Matt

Former Member
0 Kudos

Hello,

I'm running XCelsius 2008 SP2, I use the openDocument like the example below, if you try, it should work.

Currently, I cannot guarantee if this example opens one Xcelsius dashboard or if it opens a webI document, this will impact on sType variable assignation.

http://<SERVER_NAME>:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=1410&sType=wid&sRefresh=Y&sWi...

Be careful with the parameter iDocID. It must have the number that identifies your swf in InfoView, not a long string like you have.

Best regards,

erbuncho