Detail Page for Work Definitions
The detail page displays information about the work definition that was selected for viewing from the Work Definitions table. The detail page includes four tabs for the information to display: General Information, Operations, Equipment, Work Instructions.
Work definition detail page, with the contained mashup blurred.
Mashups and Widgets
The PTC.Factory.Demo.WorkDefinitionDetailMashup mashup defines the detail page for a work definition. This mashup in turn calls the following mashups for the individual selectable tabs:
The General Information tab, which displays the general information mashup for work definitions (PTC.Factory.Demo.WorkDefinitionGeneralInfoMashup).
The Operations tab, which displays the operations mashup for work definitions (PTC.Factory.Demo.WorkDefinitionOperationsMashup).
The Equipment tab, which displays the equipment mashup for work definitions (PTC.Factory.Demo.WorkDefinition.EquipmentMashup).
The Work Instructions tab, which displays the work instructions mashup (PTC.SCA.SCO.UnifiedWorkInstructionsScreenMashup).
The PTC.Factory.Demo.WorkDefinitionDetailMashup mashup uses the following widgets:
A Contained Mashup widget, which calls the breadcrumb navigation mashup.
A Label widget to display the identifying information for the work definition. The identifying information is made up of the type plus the ID for the work definition. For example, WORK DEFINITION - WorkDefinition101.
A Tabs widget, which defines the tabs in the display pane and calls the appropriate mashup for the selected tab. The work definition detail page contains multiple tabs: General Information, Operations, Equipment, and Work Instructions.
Multiple Contained Mashup widgets, which display the mashup associated with the selected tab.
The PTC.Factory.Demo.ManufacturingPlanningMaster mashup is specified as the Master property on the mashup. It supplies the banner at the top of the page and the navigation panes on the left.
Inputs
The input parameter for the PTC.Factory.Demo.WorkDefinitionDetailMashup mashup is:
wdUID—The UID of the work definition that was selected for viewing from the Work Definitions table.
Outputs
The UID of the work definition that is being viewed is passed to the mashup displayed in the Contained Mashup widget for the selected tab.
Services
The mashup uses the following services from the PTC.Factory.Demo.WorkDefinitionUtils Thing:
GetWorkDefinition—Retrieves the information for the work definition that was selected from the Work Definitions table.
GetWorkDefinitionTitleLabel—Retrieves the ID value for the work definition from the information returned by the GetWorkDefinition service. This value is used in the Label widget at the top of the page.
Was this helpful?