afv-library/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UiFormulaRule.json

134 lines
5.5 KiB
JSON

{
"sections": [
"title",
"description",
"fields",
"wsdl_segment",
"field_reference"
],
"title": "UiFormulaRule - Data API",
"description": "Represents a set of one or more filters that define the conditions under which a component displays on a Lightning page. This object is available in API version 47.0 and later.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"relationship_type",
"refers_to"
],
"fields": {
"AssociatedElementId": {
"type": "reference",
"properties": "Filter, Group, Nillable, Sort",
"description": "Represents a parent component that UiFormulaRule is associated with, such as PromptVersion. This is a relationship field.",
"relationship_name": "AssociatedElement",
"relationship_type": "Lookup",
"refers_to": "PromptVersion"
},
"BooleanFilter": {
"type": "string",
"properties": "Filter, Group, Nillable, Sort",
"description": "Represents the filter logic applied to UiFormulaRule. References the UI formula rule stored by UiFormulaCriterion based on the sortIndex, such as ((1 && 3) || 2)."
},
"DeveloperName": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "Represents the API name of the UiFormulaRule. Note: Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field."
},
"Formula": {
"type": "textarea",
"properties": "Nillable",
"description": "Represents the formula source string of UiFormulaRule."
},
"Language": {
"type": "picklist",
"properties": "Filter, Group, Restricted picklist, Sort",
"description": "Represents the language of the UiFormulaRule."
},
"MasterLabel": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "Represents the label of the UiFormulaRule.",
"required": true
},
"ParentKeyPrefix": {
"type": "string",
"properties": "Filter, Group, Nillable, Sort",
"description": "Represents the three-digit prefix for AssociatedElementId."
}
},
"wsdl_segment": "```xml\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n<complexType name=\"UiFormulaRule\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"AssociatedElementId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"BooleanFilter\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"DeveloperName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Formula\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"Language\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"LastModifiedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"LastModifiedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"MasterLabel\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ParentKeyPrefix\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n```",
"field_reference": {
"AssociatedElementId": {
"field_label": "Associated Element ID",
"type": "reference",
"length": "18"
},
"BooleanFilter": {
"field_label": "Boolean Filter",
"type": "string",
"length": "255"
},
"CreatedById": {
"field_label": "Created By ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"DeveloperName": {
"field_label": "Name",
"type": "string",
"length": "80"
},
"Formula": {
"field_label": "Formula",
"type": "textarea",
"length": "4000"
},
"Id": {
"field_label": "Ui Formula Rule ID",
"type": "id",
"length": "18"
},
"IsDeleted": {
"field_label": "Deleted",
"type": "boolean"
},
"Language": {
"field_label": "Master Language",
"type": "picklist",
"length": "40"
},
"LastModifiedById": {
"field_label": "Last Modified By ID",
"type": "reference",
"length": "18"
},
"LastModifiedDate": {
"field_label": "Last Modified Date",
"type": "datetime"
},
"MasterLabel": {
"field_label": "Label",
"type": "string",
"length": "80"
},
"ParentKeyPrefix": {
"field_label": "Parent Key Prefix",
"type": "string",
"length": "3"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}