Skip to main content

Config - Highways Defects

This hub widget is included in the Highways package.

Description​

This widget is a template, so it's offered by the From template menu when a user adds a widget to a hub.

Properties​

This widget has the following properties.

PropertyValue
NameConfig - Highways Defects
Item ID682d902b4364ec431f356f24
TypeStandard
CollectionTemplate
ContextPackage
Show percentage barsNo
Default appNot specified, each data point opens in the most suitable app for its type

Data points​

This widget has 4 data points, each querying the items below.

Data pointSourceTargetsIconColour
Highways Defect Investigation Decision - ListQueryHighways Defect Investigation Decision - Listicon-display-list  #8b8b8b  
HWY Defect TypesQueryHWY Defect Types - Listicon-display-list  #0266a7  
Highways Defect Investigation Decision Category - ListQueryHighways Defect Investigation Decision Category - Listicon-display-list  #8b8b8b  
Highways Defect Category - ListQueryHighways Defect Category - Listicon-display-list  #8b8b8b  

Configuration​

The full configuration of this widget, including each data point's query.

Show configuration (115 lines)
{
"hasBars": false,
"type": "Standard",
"dataPoints": [
{
"id": "8c25c650-361e-11f0-bf9c-0b0f8d405639",
"name": "Highways Defect Investigation Decision - List",
"style": {
"icon": "icon-display-list",
"colour": "#8b8b8b"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_highwaysDefectDecisionListHighwaysDefectDecision_67dafe56b932691ca19672d0",
"attributes_highwaysDefectDecisionListDefectDecisionCategory_67dafe37b932691ca19672c3",
"attributes_highwaysDefectDecisionListFollowupTaskTypeifRelevant_67eac11f4b272a3931e1d266",
"attributes_highwaysDefectDecisionListFollowupTaskStatuschangeIfRelevant_67db01c9b932691ca19673ec",
"attributes_highwaysDefectDecisionListFollowupInspectionOffsetDaysifRelevant_67eaa4574b272a3931e1ca38",
"attributes_highwaysDefectDecisionListEmailToNotifyifRelevant_67eaa6844b272a3931e1ccba"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysDefectDecisionList_67dafe10b932691ca19672b0",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
}
}
},
{
"id": "9d979080-361e-11f0-bf9c-0b0f8d405639",
"name": "HWY Defect Types",
"style": {
"icon": "icon-display-list",
"colour": "#0266a7"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_itemsTitle",
"attributes_hWYDefectTypesHWYDefectCategory_682604259f7ab763bc417f4b",
"attributes_defectTypeTaskType",
"attributes_defectTypeDefaultWorkToDo"
],
"collectionCode": "Live",
"dodiCode": "designs_hWYDefectTypes_682603e69f7ab763bc417f2b",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
}
}
},
{
"id": "6fb2fd60-3620-11f0-805b-cb3105768760",
"name": "Highways Defect Investigation Decision Category - List",
"style": {
"icon": "icon-display-list",
"colour": "#8b8b8b"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"attributes": [
"attributes_highwaysDefectDecisionCategoryListDefectDecisionCategory_67dafdc3b932691ca196728a"
],
"collectionCode": "Live",
"dodiCode": "designs_highwaysDefectDecisionCategoryList_67dafdb6b932691ca1967277",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
}
}
},
{
"id": "7dae9e80-361e-11f0-bf9c-0b0f8d405639",
"name": "Highways Defect Category - List",
"style": {
"icon": "icon-display-list",
"colour": "#8b8b8b"
},
"type": "CustomQuery",
"aqs": {
"type": "Query",
"properties": {
"collectionCode": "Live",
"dodiCode": "designs_highwaysDefectCategoryList_67dafeb9b932691ca196730a",
"parameters": [
{
"name": "currentUserId",
"type": "AlloyId",
"title": "Current user ID"
}
]
}
}
}
]
}