Forum Discussion
JackLacava
2 years agoHonored Contributor
args.LoadDashboardTaskInfo.Reason = LoadDashboardReasonType.Initialize And _
args.LoadDashboardTaskInfo.Action = LoadDashboardActionType.BeforeFirstGetParameters
Note that the action type has two more states you can work with:
LoadDashboardActionType.BeforeGetDashboardDisplayInfo
LoadDashboardActionType.BeforeSubsequentGetParameters
- agent092 years agoNew Contributor II
Hi Jack,
Thanks for the response. I have tried to put my code under: args.LoadDashboardTaskInfo.Reason = LoadDashboardReasonType.Initialize And _ args.LoadDashboardTaskInfo.Action = LoadDashboardActionType.BeforeFirstGetParameters but the ModifiedCustomSubstVars dictionary still does not have the value for my parameter during this event.
I am trying to find the event after the user clicks OK on the parameter prompt.
- JackLacava2 years agoHonored Contributor
Ah yes sorry, didn't read your post properly.
First, you'll have to set your rule to run on All Actions.
Then, in code, you can check on BeforeGetDashboardDisplayInfo, which should run after BeforeFirstGetParameters.
Related Content
- 11 months ago