Salesforcedx-vscode: Retrieve Standard Value Sets in Org Browser

Created on 22 Aug 2019  路  9Comments  路  Source: forcedotcom/salesforcedx-vscode

Summary

No Standard Value Set visible in Org Browser.

Steps To Reproduce:

  1. Open Org Browser.
  2. Click on Standard Value Sets.

Expected result

The list of Standard Value Sets should be displayed.

Actual result

Just displaying "No components available".

Additional information

VS Code Version: 1.37.1 + Extension pack 46.10

SFDX CLI Version: sfdx-cli 7.20.1 (core)

OS and version: MacOS Mojave

orgbrowser

Most helpful comment

In VS Code, you can stick this file into your manifest folder, then click-right and "SFDX: Retireve Source in Manifest from Org"

package-StandardValueSet.xml.zip

All 9 comments

Actually there are several metadata where it does not work, so I'm sure you already know about it.

any update around this? I'm facing the same problem. Can't retrieve Case status fields.

@FabienTaillon even if you don't use OrgBrowser, the issue is the same with CLI:

sfdx force:source:retrieve -m StandardValueSet

=== Retrieved Source
No results found

If you know which StandardValueSet, you can specify then name directly:
sfdx force:source:retrieve -m StandardValueSet:CaseStatus

You can't retrieve all at once with the command because this Metadata Type doesn鈥檛 support the wildcard character * (asterisk).

However, regarding the VS Code extension, I would expect to see the list anyway because from a user perspective we don't care that the API is not good. I would even prefer an hardcoded list that would be updated at every release than seeing nothing.

Obviously the best fix would be to fix the API itself.

In VS Code, you can stick this file into your manifest folder, then click-right and "SFDX: Retireve Source in Manifest from Org"

package-StandardValueSet.xml.zip

Also having this issue.

There are ways to work around the issue and force:source:pull is fine with seeing change in StandardValueSets but the browser can't find them.

Hi all. I am experiencing the same thing now. I tried Fabien's suggestion in using sfdx force:source:retrieve -m StandardValueSet:LeadSource but the result was:

=== Retrieved Source
No results found

Anyone figured out how to solve this? Even using the right click SFDX: Retrive this source from Org is not working for me.

Have you checked that nothing was retrieved ? I sometimes get a "No results found" message, but the metadata is retrieved anyway.

Thanks a lot the hint with sfdx force:source:retrieve -m StandardValueSet:CaseStatus helped me out.
Many thanks

Was this page helpful?
0 / 5 - 0 ratings