Skip to content
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

Not able to retrieve StandardValueSet #102

Open
msteinercrmfirm opened this issue Oct 18, 2023 · 9 comments
Open

Not able to retrieve StandardValueSet #102

msteinercrmfirm opened this issue Oct 18, 2023 · 9 comments

Comments

@msteinercrmfirm
Copy link

I'm able to SELECT StandardValueSet as a metadata type to retrieve however the package never seems to find anything.

After googling, I think there's a bug in the in the code generated in the package XML.
When I manually added attributes to the code it pulled it down successfully. See sample below...

OpportunityStage StandardValueSet 58.0
@jh480
Copy link

jh480 commented Apr 11, 2024

This is a fault with the API.
You'd need to open a case with Salesforce (and they'd probably tell you it's working as designed).

The SFDX CLI has a hardcoded selection that will be generated with sf project generate manifest, though it's missing, among others, GenderIdentity, Pronoun, AddressCountryCode, AddressStateCode.
More entries can be found here: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/standardvalueset_names.htm

@msteinercrmfirm
Copy link
Author

Has this been communicated to Salesforce? This package is very widely used and only growing more popular, I would think they'd actually want to adjust the API.

@jh480
Copy link

jh480 commented Apr 11, 2024

As per the documentation, the wildcard is not supported for this type (I would have expected an API error, but alas..).
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_standardvalueset.htm

Curiously, it is for StandardValueSetTranslation (from my experience, only for modified translations).

@msteinercrmfirm
Copy link
Author

Totally get that it's not supported CURRENTLY in the API. I'm asking if this gap has ever been communicated to Salesforce. Surely you'd think they'd be open to changing the API so it is supported.

@jh480
Copy link

jh480 commented Apr 11, 2024

I am not that confident. I have already opened two other cases about the API with them, one about blatant errors, and both times I got the "working as designed" response.

https://ideas.salesforce.com/s/idea/a0B8W00000NX6oOUAT/dont-overwrite-field-help-text-with-translation-of-the-current-users-language
https://ideas.salesforce.com/s/idea/a0B8W00000NX7GOUA1/list-managed-metadata-for-layout-quickaction-etc-with-correct-namespace-prefix

@msteinercrmfirm
Copy link
Author

Upvoted

@vignaesh01
Copy link
Owner

vignaesh01 commented Apr 13, 2024 via email

@msteinercrmfirm
Copy link
Author

msteinercrmfirm commented Apr 15, 2024 via email

@jh480
Copy link

jh480 commented Apr 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants