function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Brian Watts 21Brian Watts 21 

Why is the standardValueSets documentation incomplete

In general, I find that being able to retrieve standardValueSet metadata very tricky - and if you don't master it, you'll have your head scratching when it comes time to promote a very complex pathAssistant or recordType

This document seems at first glance to be exhaustive:
StandardValueSet Names and Standard Picklist Fields (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/standardvalueset_names.htm)

However, it ought to list additional standardValueSets.

For example, there are some you get when you begin using Field Service Lightning - and the VS Code "cloud explorer" add-in cannot find it.. but if I create this file, as an empty file.. but simply name it this: 

TimeSheetEntryType.standardValueSet-meta.xml

And then I right click and attempt to "Retrieve source".. BAM.. sure enough there is metadata there!