Passing a dashboard parameter to DM step
Hi ChrisB: you should be able to pass the values to the DM Sequence without needing to use stored Literal Values. We do this by using common ephemeral parameters within the DM sequences. These DM parameters are fed the dashboard parameters when a button is pressed (which executes the DM sequence). Here's a real example:
- DM Sequence that runs a custom calculate (copies some data between scenarios)
- DM Sequence uses |!ParamCube!| and |!ParamScenario!| ...amongst others. These are used throughout our DM sequences and are always the same parameters. Note: these parameters are not defined anywhere within our dashboard maintenance units (they are ephemeral)
- Dashboard has combo boxes where a user selects these values
- The dashboard parameters are called |!Cube_SCM!| and |!Scenario_SCM!|. These parameters are delimited lists not necessarily literal values
- A Button component, when pressed, executes the DM Sequence
- This is a Server Changed Task = Execute Data Management Sequence
- The arguments are, and this is the key:
- {TheDataManagementSequenceName}{ParamCube = |!Cube_SCM!|, ParamScenario = |!Scenario_SCM!|}
Hope that all makes sense. Give it a shot and report back.
edit: typo
Hi db_pdx. Thanks.
We are using a button to select an entity from a member dialog box. I know a value is stored to the parameter, because it is displayed on a label on the dashboard after the user selects the entity.
I have re-looked at it with your guidance as set out and I've realised that the button was not set to Save Data For All Components. It is sorted now! Thank you!