-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retrieve Standard Value Sets in Org Browser #1579
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:
|
If you know which StandardValueSet, you can specify then name directly: You can't retrieve all at once with the command because this Metadata Type doesn’t 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" |
see Salesforce Metadata API Developer Guide for an up-to-date list of values : https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/standardvalueset_names.htm As noted by Fabien here forcedotcom/salesforcedx-vscode#1579 (comment) "You can't retrieve all values at once with the 'sfdx force:source:retrieve -m StandardValueSet' command because this Metadata Type doesn’t support the wildcard character * (asterisk)."
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 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. |
I am unable to retrieve the inactive value. Only the active values gets retrieved. Is it a default behavior of source:retrieve command? |
Also having this same issue - is this because it doesn't support wildcard in the metadata API? |
|
* feat(orgbrowser): add support for StandardValueSet #1579 * test(orgbrowser): add test for StandardValueSet support * feat: use list from source-deploy-retrieve Authored-by: Sebastian Bresin <sebastian.bresin@gmail.com>
Closing as resolved by #3992 |
Summary
No Standard Value Set visible in Org Browser.
Steps To Reproduce:
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
The text was updated successfully, but these errors were encountered: