BusinessObjects Board

Calling Parameter from Parent Swf file to Child Swf file

Hi,

We have Xcelsius Parent Flash file which calls 2 different swf files by passing parameter to one of the child swf file.

We have created a flash variable (as location) in child xcelsius and assign to an excel cell. We don’t have any flash variabe in parent

We have created and could able to successfully pass parameter and get the child swf files in our desktop (parent xcelsius preview mode) by the following link:

  1. =“C:\Dashboard\First.swf”&"?location="&B2

Where B2 is a cell in excel sheet which is controlled by the Combo Box selector in the parent xcelsius file.

The above one works perfectly in desktop, but when we export this to BO infoview, we could not see the parameter passing from the parent swf to child swf.

Below are the different ways we have deployed in BO Infoview:

=“http:///Xcelsius/opendoc/documentDownload?iDocID=11516&sKind=Flash&IsSlocation=”&B2

=“http:///Xcelsius/opendoc/documentDownload?iDocID=11516&sKind=Flash”&"?location="&B2

=“http:///OpenDocument/opendoc/openDocument.jsp?iDocID=11516&sKind=Flash&IsSlocation=”&B2

=“http:///OpenDocument/opendoc/openDocument.jsp?iDocID=11516&sKind=Flash”&"?location="&B2

Please let me know why this is not working in BO infoview when it perfectly works in client tool Xcelsius. Is that we miss anything in the link

Thanks
Shabo


shankarbo (BOB member since 2005-11-14)

For these 2 you need to replace &IsS with &lsS i.e. it is ampersand followed by lower case L followed by lower case S followed by upper case S


Nniixx :australia: (BOB member since 2009-09-02)

Hi shankar for me and for those who might not know how to pass a parameter, could you please tell us how you were able to do it. If you have any materials please send it to santappi at hotmail.com. I will really appreciate your help on this.


sanappi (BOB member since 2010-05-03)

See attached PDF it may be of help.
xi3-1_url_reporting_opendocument_en.pdf (515.0 KB)


Nniixx :australia: (BOB member since 2009-09-02)

Just replace &IsS with &lsS


Songjun (BOB member since 2009-10-21)

Songjun/Sanappi,

Thanks for your reply.

My problem is not opening the child flash, which I could get it. I couldn’t pass the value from the parent to child. I have a flash variable in one of the child called “location”. I need to pass this from parent flash file.

Below is the link to call and pass location to the child flash file from infoview:

=“documentDownload?iDocID=11516&sKind=Flash&lsSlocation=”&B2

The above link is not allowing the value to pass the parameter. I can see the child flash but when I select for different values in parent, I don’t see any changes in child. But I could see the data changes when I try to preview this in Desktop.

But I could see the data in other child flash as below link which doesn’t have any parameter passing:

=“documentDownload?iDocID=11516&sKind=Flash”

Thanks
Shabo


shankarbo (BOB member since 2005-11-14)

All,

I could figure out to pass the parameter with the below link:

=“documentDownload?iDocID=11516&sKind=Flash&location=”&B2

I just removed “lsS” before location, it worked from Infoview and the values are passing from Parent to Child. Now I have only one other issue, pop up for login credentials in Infoview whenever I try to pass parameter. I think I need to implement CELogonToken. I will try that now.

Thanks
Shabo


shankarbo (BOB member since 2005-11-14)

All,

Within the 2 child flash file, whenever we try to pass parameter for one of the child Flash file, there is a pop up for login credentials.

=“documentDownload?iDocID=11516&sKind=Flash&location=”&B2

Do we need to add any other syntax to the above link to get rid off login credential screen

But when we try to open the other child flash file (where we don’t have parameter pass), it worked fine without prompting for login credentails.

For eg., =“documentDownload?iDocID=11222&sKind=Flash”

Do we need to do any specific settings to avoid login pop up screen, if we pass parameter from Parent to Child Flash file

Thanks
Shabo


shankarbo (BOB member since 2005-11-14)

shankarbo,

I’m having the exact same issue. So when the link is executed, all my combo boxes values are passed correctly BUT the child file spreadsheet is showing the default data?? I tired sType=swf, I tried removing the ls (which then wont even pass the FlasVars) but to no avail. Any suggestions would be much appreciated.


katullus :us: (BOB member since 2009-08-21)

Hi,

You have to add CELogonToken to the url:

&CELogonToken=

When you have in the FlashVars connection the same field then the value of your current session wil come along.

If inside this token value is a colon (":") then you have to replace it with “%3A”, otherwise it will not work.


armie :netherlands: (BOB member since 2010-02-17)

hi armie,
i try for that following url

=“http://san:8080/Xcelsius/opendoc/documentDownload?iDocID=16028&sKind=Flash&CELogonToken= =”&B2

error is
HTTP Status 500
message

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

exception

java.lang.NullPointerException
com.businessobjects.clientaction.xcelsius.DocumentDownload.getSWF(DocumentDownload.java:55)
com.businessobjects.clientaction.xcelsius.DocumentDownload.service(DocumentDownload.java:130)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


brijonxcelsius (BOB member since 2011-11-10)

hi, shankarbo

i am new in xcelsius i used xcelsius 2008

i pass parametr form one swf to second swf i used your following trick

=“C:\Documents and Settings\yuv\Desktop\Top.swf”&"?var1 ="&BE84
but not work

please help
:hb:


brijonxcelsius (BOB member since 2011-11-10)