BusinessObjects Board

parameter passing from one SWF to another SWF(Dashboard)

Hi
i have created two dashboard using xcelsius and exported as SWF (Flash file) to my local machine. here i am using login function (input components) user name password , and url link button (refered second dashboard) if i click url button next swf file appear . how to pass the user name password from dashboard 1 to dashboard 2 . both are designed seperate but excel is same one how to pass that two input value(user name ,passsword ) to another SWF file

give me your inputs

thank s


Nags :india: (BOB member since 2007-02-07)

Do you have idea of the concept of uysing Flashvars?
If you haven’t used them earlier you can learn it from here also:


I think you can acheive this by using Flashvars.In the first SWF file while designing the model create a string like this which would have the parameters to send and in the second flashfile create flashvars and give them the same names by which you are going to pass parameters.

http://:8080/businessobjects/enterprise11
5/desktoplaunch/opendoc/openDocument.jsp?iDocID=1234&sKind=
Flash&lsScurrentValue=23&lsSlowerThreshold=10

i.e. in this example flashvars should be with names “currentValue” and “lowerThreshold” in the second flashfile.


bambazooka :us: (BOB member since 2007-01-26)

thanks for your information

i will do that steps and let u know

thanks


Nags :india: (BOB member since 2007-02-07)

I have stuck with passing parameter from one swf (parent) to another (child).
I have succeed passing parameter from one swf to another, i used same excel file for my swf.
I am using this formula to pass paramater from one swf to other
=“http://mycompany.com/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?iDocID=417998&lsSYear="&K1&"&lsSBranchName="&C2&"
Cell K1 is year and C2 is a branch name that i selected in parent swf
I succeed passing parameter but parameter that i pass from parent didn’t use as prompt parameter for QAAWS.

Any one has idea what’s going on.
Any help would be greatfull
Thanks in advance


siauan :indonesia: (BOB member since 2008-04-14)

I am facing a similar issue .Did you resolve this?


zephyrous (BOB member since 2007-01-12)

Hi zephyrous/Siauan,

I have similar issue. Do you resolve the same?

I couldnot pass the parameter from parent to child.

Thanks
Jai


shankarbo (BOB member since 2005-11-14)

  1. in dashboard1,the url looks like
    dashboard2?username=yourusername&password=yourpassword
  2. in dashboard2,create a flashvar,which contains two params, username and password,link them to excel, for eg,A1 and A2. display A1 and A2 .
  3. put two swf in the same folder

Try this… :lol:


Songjun (BOB member since 2009-10-21)

Thanks Songjun.

We did that. I have created a new link and explained my issues in detail. Please let us know whether you have seen this issue.

Thanks
Shabo


shankarbo (BOB member since 2005-11-14)

If you’re hosting the SWF in InfoView you can use the CELogonToken to pass the BOE credentials.

In the parent file create a Flash Var called CELogonToken (note the capitalization). Bind it to a cell. In your opendoc call to the child SWF append the URL with: &CELogonToken=(the cell you bound the Flash Var to)


tracyn712 (BOB member since 2008-06-05)