Create Crew
Launch the Create Crew screen by clicking Create on the Crews screen. From the Create Crew screen, enter a name for the crew and click Add to create a new crew. An optional leader ID, crew count, and description can also be entered.
Create Crew screen
Mashup and Widgets
The PTC.SCA.SCO.CreateCrew mashup defines the Create Crew screen. This mashup uses the following widgets:
Label widgets are used for the Create Crew page heading, and to provide the hint text appearing over the Name field.
Button widgets are used for the Add and Cancel buttons.
Text Box widgets are used for the Name and Leader ID fields.
A Numeric Entry widget is used for the Crew Count field.
A Text Area widget is used for the Description field.
Services
The mashup uses the following services from the PTC.SCA.SCO.ShiftManagementUtils Thing:
CreateCrews—Creates a new crew based on the information entered.
IsFieldEmpty—Validates if a required field in the screen is empty.
ValidateCrews—Validates that all required fields for the crew are not null and that the values entered are valid. This service is called when the Add button is clicked.
Was this helpful?