Operations Page for Work Definitions
The Operations page 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.
Work definition Operations page.
Mashups and Widgets
The PTC.Factory.Demo.WorkDefinitionOperationsMashup mashup defines the Operations page. This mashup in turn calls the following mashups for the individual selectable tabs:
General InformationPTC.Factory.Demo.WorkDefinitionOperations.GeneralInfoMashup
AttachmentsPTC.Factory.Demo.WorkDefinitionOperations.AttachmentsMashup
Control CharacteristicsPTC.Factory.Demo.WorkDefinitionOperations.ControlCharacteristicsMashup
EquipmentPTC.Factory.Demo.WorkDefinitionOperations.EquipmentMashup
MaterialsPTC.Factory.Demo.WorkDefinitionOperations.MaterialsMashup
The PTC.Factory.Demo.WorkDefinitionOperationsMashup mashup uses the following widgets:
A Grid Advanced widget, listing all the operations (child work definitions) for the work definition.
A Data Filter widget which filters the list based on the selected values.
A Tabs widget which defines the five tabs in the bottom pane, and calls the appropriate mashup for each tab.
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.
Inputs
The input for the PTC.Factory.Demo.WorkDefinitionOperationsMashup mashup is the UID of the work definition that was selected from the Work Definitions table.
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 the contained mashups for the tabs.
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 table.
Was this helpful?