Multiple Inline Components

[
   {
      "component": "gmpkg:RecordLayoutComponent",
      "attributes": {
         "targetObjName": "Contact",
         "recordIdField": "recordId",
         "recordLayout": "{\"sections\":[{\"name\":\"contactInformation\",\"label\":\"Contact Information\",\"active\":true,\"cols\":3,\"rows\":[[{\"apiName\":\"FirstName\"},{\"apiName\":\"LastName\"},{\"apiName\":\"Email\"}],[{\"apiName\":\"ReportsToId\",\"managedLookup\":true,\"titleField\":\"ReportsTo.Name\"},{\"apiName\":\"MailingStreet\"},{\"apiName\":\"MailingCity\"}],[{\"apiName\":\"gmpkg__Notes__c\"}],[{\"apiName\":\"gmpkg__xNotes__c\"}]]}]}"
      }
   },
   {
      "component": "gmpkg:RelatedListDataGridComponent",
      "attributes": {
         "relatedListLabel": "Cases",
         "rowLimit": 100,
         "pageSize": 10,
         "customIcon": "standard:case",
         "columnStyles": "{\"Priority\":[{\"color\":\"#DA3737\",\"exp\":{\"Priority\":{\"operator\":\"in\",\"value\":\"('High')\"}}}]}",
         "filter": "{\"and\":[{},{\"Priority\":{\"operator\":\"in\",\"value\":\"('High')\"}}]}",        
         "jsonActions": "[    {       \"label\": \"Mass Email\",       \"name\": \"MassEmail\",       \"component\": \"gmpkg:DataGridSendEmailComponent\"    },    {       \"name\": \"Case.gmpkg__Esclate\",       \"label\": \"Esclate\",       \"component\": null    } ]",
         "buttonActions": false,
         "visibleActions": 0,
         "frozenColumns": 0,
         "TotalColor": "#FFFFFF",
         "TotalBgColor": "#0070d2",
         "recordRelated": "[]",
         "showBorder": true
      }
   }
]

Last updated