I am creating a project to track production of equipment for multiple customers at one shop. I am using parameterized pages.
This includes a Level 1 Page for Customer Selection, Level 2 page for Equipment Selection, and Level 3 that includes a widget (String entry for Equipment ID, and Droplist for Process Status for that piece of equipment). I have also setup a Dashboard Page to see all Level 3 widgets for the selected customer.
The issue I have is that each customer will have different amounts of equipment in production, so I'd like to remove widgets not being used from the Dashboard page.
I know there exists an Opacity setting for the widget, which I could use to hide it given an expression. Could I set up an expression similar to "If ParameterValue=Empty Then 0 Else 1 EndIf" ? I am new to scripting, so I'm trying to determine if i'm headed in the right direction or if there is an alternate solution to consider, such as creating individual dashboard pages instead of a parameterized dashboard page.
Customer 1 Dashboard

Customer 2 Dashboard (only 1 piece of equipment)
I am creating a project to track production of equipment for multiple customers at one shop. I am using parameterized pages.
This includes a Level 1 Page for Customer Selection, Level 2 page for Equipment Selection, and Level 3 that includes a widget (String entry for Equipment ID, and Droplist for Process Status for that piece of equipment). I have also setup a Dashboard Page to see all Level 3 widgets for the selected customer.
The issue I have is that each customer will have different amounts of equipment in production, so I'd like to remove widgets not being used from the Dashboard page.
I know there exists an Opacity setting for the widget, which I could use to hide it given an expression. Could I set up an expression similar to "If ParameterValue=Empty Then 0 Else 1 EndIf" ? I am new to scripting, so I'm trying to determine if i'm headed in the right direction or if there is an alternate solution to consider, such as creating individual dashboard pages instead of a parameterized dashboard page.
Customer 1 Dashboard

Customer 2 Dashboard (only 1 piece of equipment)
