Operations Tab for Work Definitions
The Operations tab lists all of the operations (child work definitions) for the work definition that is being viewed. All operations are listed in a flattened list, regardless of the level at which they are nested within the set of work instructions. Below the list of operations, tabs display the information associated with the operation that is selected in the list: General Information, Attachments, Control Characteristics, Equipment, and Materials.
Operations page for a work definition.
Mashups and Widgets
The PTC.Factory.Demo.WorkDefinitionOperationsMashup mashup defines the Operations tab. This mashup in turn calls the following mashups for the individual selectable tabs:
The General Information tab, which displays the general information mashup for operations.
The Attachments tab, which displays the attachments mashup for operations.
The Control Characteristics tab, which displays the control characteristics mashup for operations.
The Equipment tab, which displays the equipment mashup for operations.
The Materials tab, which displays the materials mashup for operations.
The PTC.Factory.Demo.WorkDefinitionOperationsMashup mashup uses the following widgets:
A Data Filter widget, which filters the list based on the selected values.
An Infotable Selector widget, which hides the tabs when there are no operations for the work definition being viewed, or no operation is selected in the list of operations.
A Grid Advanced widget, listing all the operations (child work definitions) for the work definition.
A Tabs widget, which defines the five tabs in the bottom pane, and calls the appropriate mashup for each tab.
Multiple Contained Mashup widgets, which display the mashup associated with the selected tab.
Inputs
The input for the PTC.Factory.Demo.WorkDefinitionOperationsMashup mashup is the UID of the work definition that was selected for viewing from the Work Definitions page.
Outputs
When a row is selected in the operations list, the UID of the operation (work definition) that is associated with that row is passed to mashup displayed in the Contained Mashup widget.
Services
The mashup uses the following service from the PTC.Factory.Demo.WorkDefinitionUtilities Thing:
GetNestedWorkDefinitions—Retrieves the list of operations (child work definitions) for the work definition that was selected from the Work Definitions page.
Was this helpful?