-
Notifications
You must be signed in to change notification settings - Fork 30
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
Comments
This is a fault with the API. The SFDX CLI has a hardcoded selection that will be generated with |
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. |
As per the documentation, the wildcard is not supported for this type (I would have expected an API error, but alas..). Curiously, it is for StandardValueSetTranslation (from my experience, only for modified translations). |
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. |
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 |
Upvoted |
Hi, Do you want me to remove the wild card for standardset in the generated
package.xml?
Thanks,
Vignaesh Ram A
…On Fri, Apr 12, 2024, 04:11 Matthew Steiner ***@***.***> wrote:
Upvoted
—
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADDYPO3FSGGQJAFUDRIF7PLY44GTHAVCNFSM6AAAAAA6FTQPS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGY3TEMJTHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I'm not sure if that matters if the API is wrong. I guess I'd leave it in case they fix it.
________________________________
From: Vignaesh Ram A ***@***.***>
Sent: Friday, April 12, 2024 11:51 PM
To: vignaesh01/sfdx-package-generator ***@***.***>
Cc: Matthew Steiner ***@***.***>; Author ***@***.***>
Subject: Re: [vignaesh01/sfdx-package-generator] Not able to retrieve StandardValueSet (Issue #102)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. ------------------------------------------------------------------------
Hi, Do you want me to remove the wild card for standardset in the generated
package.xml?
Thanks,
Vignaesh Ram A
On Fri, Apr 12, 2024, 04:11 Matthew Steiner ***@***.***> wrote:
Upvoted
—
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADDYPO3FSGGQJAFUDRIF7PLY44GTHAVCNFSM6AAAAAA6FTQPS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGY3TEMJTHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
—
Reply to this email directly, view it on GitHub<#102 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBNWBQZALGSSB4VYZNHFS43Y5C2TTAVCNFSM6AAAAAA6FTQPS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJTGQ3TSMBZHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
What you could do is hard-code a predefined selection, and explicitly list them in the manifest even for "Select all", like with CustomObject.
Here's a list with the usual suspects:
AccountContactRole
AccountOwnership
AccountRating
AccountType
AssetStatus
CampaignMemberStatus
CampaignStatus
CampaignType
CaseContactRole
CaseOrigin
CasePriority
CaseReason
CaseStatus
CaseType
ContactRole
ContractContactRole
ContractStatus
EventSubject
EventType
FiscalYearPeriodName
FiscalYearPeriodPrefix
FiscalYearQuarterName
FiscalYearQuarterPrefix
GenderIdentity
Industry
LeadSource
LeadStatus
OpportunityCompetitor
OpportunityStage
OpportunityType
OrderStatus
PartnerRole
ProcessExceptionCategory
ProcessExceptionPriority
ProcessExceptionSeverity
ProcessExceptionStatus
Product2Family
Pronoun
QuantityUnitOfMeasure
QuickTextCategory
QuickTextChannel
Salutation
SolutionStatus
TaskPriority
TaskStatus
TaskSubject
TaskType
WorkOrderLineItemStatus
WorkOrderPriority
WorkOrderStatus
Other candidates (though not always present):
AccountContactMultiRoles (for AccountContactRelation)
AddressCountryCode (for standard-Address Country picklists)
AddressStateCode (similar)
EntitlementType
QuoteStatus
SalesTeamRole
ServiceContractApprovalStatus
SocialPostClassification
SocialPostEngagementLevel
SocialPostReviewedStatus
|
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.
OpportunityStage StandardValueSet 58.0When I manually added attributes to the code it pulled it down successfully. See sample below...
The text was updated successfully, but these errors were encountered: