General Discussions
Widget Opacity Expression

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
69d7c40b9a5a1
Customer 2 Dashboard (only 1 piece of equipment)
69d7c41ed1a5f

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 ![69d7c40b9a5a1](serve/attachment&path=69d7c40b9a5a1) Customer 2 Dashboard (only 1 piece of equipment) ![69d7c41ed1a5f](serve/attachment&path=69d7c41ed1a5f)
14
0
1
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft