Example of Context Mappings
Example 1:
This is an example of configuring context mappings for an operator who operates an assembly production line. The data source is filtered based on the selected dashboard filter:
- Data Sources: OperatorDashboard_New
- Data Source Filter: DataBandFromDT
- Mapping Source: Dashboard Filter
- Mapping: DataBandFromDT
- Required: True
The configuration defines that the widget considers the from date from the dashboard filter and pass to the OperatorDashboard_New data source. This filters the data source results based on date specified on the dashboard filter as the Required field is set to True. If the DataBandFromDT field is not specified, the data source does not execute.
Example 2:
This is an example of configuring context mappings for an operator who operates an assembly production line. The data source is filtered based on a selected record in another widget:
- Data Sources: Material Information for Schedule Area
- Data Source Filter: JobID
- Mapping Source: Production Schedule Gantt (3 Day)
- Mapping: JobId
- Required: False
The configuration defines that the widget considers the identifier of the job from the selected record in the Production Schedule Gantt (3 Day) widget and pass as the identifier of the job to the Material Information for Schedule Area data source. This filters the data source results to the job associated with the selected record as the Required field is set to False. If the JobID field is not specified in the Production Schedule Gantt (3 Day), the data source continue to execute and return results.