Forum Discussion

calvincoffeen's avatar
calvincoffeen
New Contributor II
3 years ago

Button Highlighting Business Rule - "Load Dashboard Server Task (Once)" running twice?

Hello, I have a problem with a couple business rules running at the wrong times from within a dashboard.  The background: I have a business rule that changes the formatting of the buttons on a da...
  • Cosimo's avatar
    3 years ago

    Calvin,

    Just a side comment: I wouldn't use a literal parameter to store the value of what button was pressed. The literal parameter is shared with all your users  and you will run into a problem where one user session overwrites the parameter value while another user session will eventually read the updated value but it doesn't reflect what the user should be seeing.

    A workaround would be to setup a runtime parameter that you then save to the dashboard parameter dictionary (i.e. args.LoadDashboardTaskInfo.CustomSubstVarsFromPriorRun in LoadDashboard section and args.SelectionChangedTaskInfo.CustomSubstVars in ComponentSelectionChanged section).

     

    Also that db_pdx said: have you tried "Tabs"