{ "sections": [ "title", "description", "file_information", "directory_location", "fields", "wsdl_segment", "declarative_metadata_sample_definition" ], "title": "GlobalValueSet - Metadata API", "description": "Represents the metadata for a global picklist value set, which is the set of shared values that custom picklist fields can use. A global value set isn’t a field itself. In contrast, the custom picklist fields that are based on a global picklist are of type ValueSet. This type extends the Metadata metadata type and inherits its fullName field.", "file_information": ".globalValueSet", "directory_location": "globalValueSets", "fields_columns": [ "type", "description" ], "fields": { "customValue": { "type": "CustomValue[]", "description": "Requires at least one value. The list of values, or “global value set,” that’s defined for a global picklist. The global value set is inherited by any custom picklist field that uses that value set. Each value is of type customValue. A global value set can have up to 1,000 total values, including inactive values." }, "description": { "type": "string", "description": "It’s useful to state the global value set’s purpose and which objects it’s intended for. Limit: 255 characters." }, "masterLabel": { "type": "string", "description": "A global value set’s name, which is defined when the global value set is created. Appears as Label in the user interface.", "required": true }, "sorted": { "type": "boolean", "description": "Indicates whether a global value set is sorted in alphabetical order. By default this value is false.", "required": true } }, "wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n\n```", "declarative_metadata_sample_definition": [ { "description": "This UpsellGlobal.globalValueSet is an example of a GlobalValueSet component.", "code": "\n\n Updated:This is a basic global value set.\n UpsellGlobal\n \n Maybe\n false\n \n \n \n No\n false\n \n \n \n Yes\n false\n \n \n false\n" } ] }