Materials Page
The Materials page displays the materials that are present in the Operator Advisor database.
Materials page.
To view the details for a material, select the material row in the table, and click View.
Mashups and Widgets
The PTC.Factory.Demo.MaterialManagementMashup mashup defines the Materials page. This mashup uses the following widgets:
A Contained Mashup widget which calls the breadcrumb navigation mashup.
Multiple Button widgets:
For the View button. This button is enabled when a row in the table is selected, and disabled when no row is selected.
For the Refresh button, which refreshes the list of materials.
A Data Filter widget which filters the list based on the selected values.
An Infotable Selector widget. When no row is selected in the table, this widget disables the View button.
A Grid Advanced widget, listing all materials in the database.
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.
Outputs
When the View button is clicked, the UID of the material definition associated with the selected row is passed as input to the mashup for the material detail page.
Services
The mashup uses the following service from the PTC.Factory.Demo.MaterialDefinitionUtils Thing:
GetMaterialDefinitions—Retrieves the material definitions in the database.
Was this helpful?