Sequential Navigation Component
The sequential navigation component displays tiles as a flattened list, one tile for each step in the set of work instructions. Users can select individual steps in the work instruction as needed.
Sequential navigation user interface component.
If all tiles cannot fit on the screen, a horizontal scroll bar is provided. The tiles are numbered sequentially in the order that a user encounters them as they move through the set of work instructions. Clicking the Complete button marks the selected step as complete.
Mashups and Widgets
The PTC.SCA.SCO.WorkDefinitionHorizontalSequentialNavigation mashup defines the sequential navigation component and uses the PTC.SCA.SCO.WorkDefinitionStep mashup for the work instruction tiles.
The PTC.SCA.SCO.WorkDefinitionHorizontalSequentialNavigation mashup uses a Collection widget. Each cell in the Collection widget calls the PTC.SCA.SCO.WorkDefinitionStep mashup, and displays the individual work instruction tiles. A Button widget is also used for the Complete button.
Inputs
The input for the PTC.SCA.SCO.WorkDefinitionHorizontalSequentialNavigation mashup is the UID of the parent work definition for the set of work instructions. For more information on work definitions and their related information, see Work Definition Schema.
Outputs
When a tile is selected, the GetNestedWorkDefinitionWithThumbnails service sets the value for the UID property on the PTC.SCA.SCO.WorkDefinitionHorizontalSequentialNavigation mashup to the UID of the work definition that is associated with the selected tile. This value is passed to the PTC.SCA.SCO.MaterialsListMashup, PTC.SCA.SCO.WorkDefinition.InfoTabContainedMashup, and PTC.SCA.SCO.TextualWorkInstructionsMashup mashups as input.
Services
The mashup uses the following services from the PTC.SCA.SCO.ProductionOrderUtils Thing:
GetNestedWorkDefinitionsWithThumbnails—Returns information for all child work definitions, of any level, of the parent work definition with specified UID. The Collection widget in this mashup passes the information returned by this service to the PTC.SCA.SCO.WorkDefinitionStep mashup, as the inputs for the display of each work instruction tile. The maxNumberOfLevels parameter on this service can be used to limit the number of levels of child work definitions that are displayed.
UpdateWorkDefinitionStatusAsCompleted—When the Complete button is clicked for a selected work instruction step, the execution status of the associated work definition is updated to 5 (Completed). When this service completes, the GetNestedWorkDefinitionsWithThumbnails service is called again. The work instruction tile is refreshed, with a checkmark showing for the completed step.
Was this helpful?