Work Definitions Tab
The
Work Definitions tab displays the top-level work definitions present in the
Operator Advisor database. These are the work definitions which are the parent work definition for a set of work instructions. To view the details for a work definition, select the work definition in the list, and click
.
Mashups and Widgets
The PTC.Factory.Demo.WorkDefinitionManagementMashup mashup defines the Work Definitions tab. This mashup uses the following widgets:
• A Grid Advanced widget, listing all the top-level work definitions in the database.
• A
Button widget for the
View Work Definition action (
). The button is enabled when a row in the table is selected.
• An Infotable Selector widget. When no row is selected in the table, this widget disables the button widget.
• A
Link widget, used to navigate to the detail page for the selected row, when
is clicked.
• A Data Filter widget which filters the list based on the selected values.
• A Button widget for the Refresh Now button, which refreshes the list of work definitions.
Outputs
When the
View Work Definition button (
) is clicked, the UID of the work definition for the selected row is passed as input to the mashup for the
work definition details page.
Services
The mashup uses the following service from the PTC.Factory.Demo.WorkDefinitionUtils Thing:
• GetWorkDefinitions—Retrieves the top-level work definitions in the database. These are the work definitions which are the parent work definition for a set of work instructions.