Detail Page for Material
The detail page displays information about the material that was selected for viewing from the Materials page.
Material detail page, with the contained mashup blurred.
Mashups and Widgets
The PTC.Factory.Demo.MaterialDetailMashup mashup defines the detail page for material. It includes a contained mashup which displays the mashup for the selected tab. For the materials detail page, there is only the General Information tab, which displays the general information mashup for materials (PTC.Factory.Demo.MaterialGeneralInfoMashup).
The PTC.Factory.Demo.MaterialDetailMashup 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 material. The identifying information is made up of the type plus the ID for the material. For example, MATERIAL - 1.0.
A Tabs widget, which defines the tabs in the display pane, and calls the appropriate mashup for the selected tab. The material detail page contains only the General Information tab.
Another Contained Mashup widget, which displays 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 parameters for the PTC.Factory.Demo.MaterialDetailMashup mashup are:
materialUID—The UID of the material that was selected for viewing from the Materials table.
Outputs
The UID of the material that is being viewed is passed to the mashup displayed in the Contained Mashup widget.
Services
The mashup uses the following services from the PTC.Factory.Demo.MaterialDefinitionUtils Thing:
GetMaterialDefinition—Retrieves the information for the material that was selected from the Materials table.
GetMaterialDefinitionTitleLabel—Retrieves the ID value for the material from the information returned by the GetMaterialDefinition service. This value is used in the Label widget at the top of the page.
Was this helpful?