Forum Discussion
Solved
Sergey,
All of your session dashboard parameters (on selection change) are stored/accessible in the dictionary args.SelectionChangedTaskInfo.CustomSubstVarsWithUserSelectedValues.
Say you have a Textbox dashboard component that's used for input is assigned the parameter Param1, you can read or modify the value behind for Param1 as followed:
Dim dashDic as dictionary = args.SelectionChangedTaskInfo.CustomSubstVarsWithUserSelectedValues
'check to see if Param1 is in dashDic dictionary:
If dashDic.ContainsKey("Param1") then
'read the value:
Dim x as string = dashDic("Param1")
'write a value to Param1:
dashDic("Param1") = "xxxxxxxx"
End if
Related Content
- 12 months ago
- 2 years ago