Forum Discussion
JackLacava
3 years agoCommunity Manager
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
- agent093 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.
- JackLacava3 years agoCommunity Manager
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.