Make a widget dependent on another widget - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

This functionality was modified in an update. For more information, see Make a widget dependent on another widget (modified in an update).

When designing your dashboard, you may want to include a widget that displays information related to an object selected in another grid or count widget in the dashboard. For example, the widget TagList displays a list of tags and, when a tag in that list is selected, the widget CRList updates to display any ongoing change requests related to the selected tag.

To do this, when creating the widget that depends on another widget, use a variable called WIDGET_<WIDGET NAME>_<PROPERTY TO RETURN> in the URL field to represent the object selected in another widget. For example, the variable WIDGET_TAGLIST_ID is the Id of the selected object in the widget with the name TagList.

For example, to configure the widget CRList as described above, type the following in the URL field:

Tags({{WIDGET_TAGLIST_ID}})/SDATagsChangeRequest?$filter=Status eq 'IN PROGRESS' or
Status eq 'OPEN' or Status eq 'APPROVED'&$select=Name,Description,Status

SHARED Tip To create a widget that displays the related data from a section of a chart widget, you can use the Drill down URL in the URL field.

  • When a widget is dependent on another widget, Link_widgets is displayed at the bottom of the widget in the dashboard.

  • Variables should always use upper case.