{ "sections": [ "title", "description", "file_information", "directory_location", "fields", "wsdl_segment", "declarative_metadata_sample_definition" ], "title": "StandardValueSet - Metadata API", "description": "Represents the set of values in a standard picklist field. This type extends the Metadata metadata type and inherits its fullName field.", "file_information": ".standardValueSet", "directory_location": "standardValueSets", "fields_columns": [ "type", "description" ], "fields": { "groupingStringEnum": { "type": "string", "description": "Groups picklist and enumerated values. For example, for the picklist values of the Status field on the Service Appointment object, Done and Finished can both have a grouping string of Completed. Available in API version 41.0 and later." }, "sorted": { "type": "boolean", "description": "Indicates whether a global value set is sorted in alphabetical order. By default, this value is false.", "required": true }, "standardValue": { "type": "StandardValue[]", "description": "Defines each value in a standard picklist’s value set. The groupingString value is available in API version 38.0 and later. When you deploy a StandardValueSet, this array must contain at least one picklist value. Otherwise, you receive an error. Note: When setting standardValue on Record Types, including person account record types, new picklist values loaded into your organization through the Metadata API don’t display in the picklist UI by default. For users to see the new values, go to the Record Types list for the object containing the picklist field, click Edit, and add the new value to the Selected Fields list." } }, "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 \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": "The following example shows a StandardValueSet component that’s defined as the Stage standard picklist on a customized opportunity object.", "code": "\n\n OpportunityStage \n \n Closed Abandoned\n \n \n Closed Won\n \n \n Closed Lost\n \n\n\n\n Opportunity\n \n StageName \n \n Picklist\n \n \n ObjectWithValueSet\n ReadWrite\n" } ] }