GM - Grid Dashboard
(gmpkg:userGridKPIListLWC)
Documentation
GM - Grid Dashboard component displays a list of KPI tiles, one per GM - User Grid. Each tile shows the grid label, the number of records matching the grid filter on a semi-circle gauge, and a View <grid label> button that opens the User Grid record.
Use case: Display on the home page the number of open opportunities and the number of contacts to follow up, based on the User Grids used by the sales team.
Specification
KPI Config
String
JSON array of KPI tiles. Each tile supports the following keys:
type: Tile type. Should be set to 'userGrid'. Other types are ignored.
gridApiName: Developer name of the User Grid.
max: The record count displayed as a full gauge. The default value is 100.
min: Minimum value of the gauge. It is not used to draw the gauge in the current version. The default value is 0.
tier1Color, tier2Color, tier3Color: Colors of the gauge gradient, from left to right. In the current version, the gauge always uses the default colors #05716B, #FFB75D and #C23934.
Below is an example with two User Grids:
[
{
"type": "userGrid",
"gridApiName": "All_Contacts_uf1g1",
"tier1Color": "#05716B",
"tier2Color": "#FFB75D",
"tier3Color": "#C23934",
"max": 1500,
"min": 0
},
{
"type": "userGrid",
"gridApiName": "Opportunities_ze5bl",
"tier1Color": "#05716B",
"tier2Color": "#FFB75D",
"tier3Color": "#C23934",
"max": 500,
"min": 0
}
]API Reference
Last updated
Was this helpful?