Salesforce · Schema

GetListViewMetadatabyAPIName

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
cloneable boolean
createable boolean
deletable boolean
displayColumns array
filterLogicString ['string', 'null']
filteredByInfo array
hasMassActions boolean
inlineEditDetails object
label string
listReference object
listShares object
objectApiNames array
orderedByInfo array
scope object
updateable boolean
userPreferences object
visibility string
visibilityEditable boolean
View JSON Schema on GitHub

JSON Schema

salesforce-get-list-view-metadataby-api-name-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "cloneable": {
      "type": "boolean",
      "example": true
    },
    "createable": {
      "type": "boolean",
      "example": true
    },
    "deletable": {
      "type": "boolean",
      "example": true
    },
    "displayColumns": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "object",
        "properties": {
          "fieldApiName": {
            "type": "string",
            "example": "example_value"
          },
          "inlineEditAttributes": {
            "type": "object",
            "example": "example_value"
          },
          "label": {
            "type": "string",
            "example": "Example Title"
          },
          "lookupId": {
            "type": "['string', 'null']",
            "example": "500123"
          },
          "searchable": {
            "type": "boolean",
            "example": true
          },
          "sortable": {
            "type": "boolean",
            "example": true
          }
        },
        "required": [
          "fieldApiName",
          "inlineEditAttributes",
          "label",
          "lookupId",
          "searchable",
          "sortable"
        ]
      }
    },
    "filterLogicString": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "filteredByInfo": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "string"
      }
    },
    "hasMassActions": {
      "type": "boolean",
      "example": true
    },
    "inlineEditDetails": {
      "type": "object",
      "example": "example_value"
    },
    "label": {
      "type": "string",
      "example": "Example Title"
    },
    "listReference": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "example": "abc123"
        },
        "listViewApiName": {
          "type": "string",
          "example": "example_value"
        },
        "objectApiName": {
          "type": "string",
          "example": "example_value"
        },
        "type": {
          "type": "string",
          "example": "example_value"
        }
      },
      "required": [
        "id",
        "listViewApiName",
        "objectApiName",
        "type"
      ]
    },
    "listShares": {
      "type": "object",
      "example": "example_value"
    },
    "objectApiNames": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "string"
      }
    },
    "orderedByInfo": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "object",
        "properties": {
          "fieldApiName": {
            "type": "string",
            "example": "example_value"
          },
          "isAscending": {
            "type": "boolean",
            "example": true
          },
          "label": {
            "type": "string",
            "example": "Example Title"
          }
        },
        "required": [
          "fieldApiName",
          "isAscending",
          "label"
        ]
      }
    },
    "scope": {
      "type": "object",
      "example": "example_value"
    },
    "updateable": {
      "type": "boolean",
      "example": true
    },
    "userPreferences": {
      "type": "object",
      "properties": {
        "columnWidths": {
          "type": "object",
          "properties": {
            "Site": {
              "type": "integer",
              "example": 10
            },
            "Type": {
              "type": "integer",
              "example": 10
            },
            "BillingCountry": {
              "type": "integer",
              "example": 42
            },
            "Owner.Alias": {
              "type": "integer",
              "example": 10
            },
            "Phone": {
              "type": "integer",
              "example": 10
            },
            "Name": {
              "type": "integer",
              "example": "Example Title"
            }
          },
          "required": [
            "Site",
            "Type",
            "BillingCountry",
            "Owner.Alias",
            "Phone",
            "Name"
          ]
        },
        "columnWrap": {
          "type": "object",
          "properties": {
            "Site": {
              "type": "boolean",
              "example": true
            },
            "Type": {
              "type": "boolean",
              "example": true
            },
            "BillingCountry": {
              "type": "boolean",
              "example": 42
            },
            "Owner.Alias": {
              "type": "boolean",
              "example": true
            },
            "Phone": {
              "type": "boolean",
              "example": true
            },
            "Name": {
              "type": "boolean",
              "example": "Example Title"
            }
          },
          "required": [
            "Site",
            "Type",
            "BillingCountry",
            "Owner.Alias",
            "Phone",
            "Name"
          ]
        }
      },
      "required": [
        "columnWidths",
        "columnWrap"
      ]
    },
    "visibility": {
      "type": "string",
      "example": "example_value"
    },
    "visibilityEditable": {
      "type": "boolean",
      "example": true
    }
  },
  "required": [
    "cloneable",
    "createable",
    "deletable",
    "displayColumns",
    "filterLogicString",
    "filteredByInfo",
    "hasMassActions",
    "inlineEditDetails",
    "label",
    "listReference",
    "listShares",
    "objectApiNames",
    "orderedByInfo",
    "scope",
    "updateable",
    "userPreferences",
    "visibility",
    "visibilityEditable"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GetListViewMetadatabyAPIName"
}