Layout with section visibility

{
   "sections": [
      {
         "name": "accountInformation",
         "label": "Account Information",
         "active": true,
         "cols": 3,
         "rows": [
            [
               {
                  "apiName": "Name"
               },
               {
                  "apiName": "AccountSource"
               },
               {
                  "apiName": "Industry"
               }
            ],
            [
               {
                  "apiName": "Phone"
               },
               {
                  "apiName": "Fax"
               },
               {
                  "apiName": "Website"
               }
            ]
         ]
      },
      {
         "name": "addressInformation",
         "label": "Address Information",
         "active": true,
         "visibility": {
            "BillingCountry": {
               "operator": "=",
               "value": "USA"
            }
         },
         "cols": 2,
         "rows": [
            [
               {
                  "apiName": "BillingStreet"
               },
               {
                  "apiName": "ShippingStreet"
               }
            ],
            [
               {
                  "apiName": "BillingCity"
               },
               {
                  "apiName": "ShippingCity"
               }
            ],
            [
               {
                  "apiName": "BillingPostalCode"
               },
               {
                  "apiName": "ShippingPostalCode"
               }
            ]
         ]
      }
   ]
}

Last updated