The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
Pplant
OneStream Employee
3 years agoDynamically setting the bound parameter for a Supplied Parameter
Is it possible to dynamically set the Bound Parameter of a Supplied Parameter?
I have tried to use and xfbr rule to do this but the supplied parameter but this does not work.
JackLacava
OneStream Employee
3 years agoYou will likely need a Dashboard Extender Rule to modify Parameters - as long as you just want to set values, that will work. Look into the properties of the *TaskResult objects, there are properties like ChangeCustomSubstVarsInDashboard and ModifiedCustomSubstVars that should allow you to do that.
If you've tried that already, we might need more info - maybe post the rule and/or relevant screenshots showing the Parameter config.
Pplant
OneStream Employee
3 years agoHi Jack,
Thanks for the input. However, the variables that you mention change the value of the parameters and not the bound parameter that is assigned to the supplied parameter dashboard component. (I am already using this to update the values of other parameters).
The supplied parameter references another parameter. I would like to dynamically change the name of the parameter that is referenced. In this case the SWD_copyIDs parameter is being referenced. I would like to change this to another parameter.
Using a supplied parameter in a dashboard means that the value of the referenced parameter can be used in the dashboard (and this will be in the dictionary args.SelectionChangedTaskInfo.CustomSubstVars ... and the other args variables). This is what I would like to achieve because then I can set the value of the parameter.
- db_pdx3 years agoValued Contributor
If you need to reference a different parameter in the dashboard, you should add that parameter to its own supplied parameter.
If you want to change the value that has been assigned to SWD_copyIDs, just change the value within your BRs using the options mentioned or SetLiteralParameter
Think of supplied parameters as a way to tell the dashboard, "hey, I want you to know the parameter within me is available to you"
- ckattookaran3 years agoValued Contributor
Not sure what you are trying to achieve. We might be able to provide ideas if you can describe what you plan to do with it. Launch another dashboard or something else?
Related Content
- 2 years ago
- 2 years ago