I made some changes in the Salutation standard value set which I'd like to move across Sandboxes. For the picklist itself it's easy as the Salutation StandardValueSet
is possible to retrieve via the sfdx
command.
Problems start when I try to retrieve Record Type assignments for the Lead object for instance. The sfdx force:source:retrieve -m RecordType:Lead.Lead
command does create the Lead.recordType-meta.xml
file, however without the Salutation picklist assignment. I tried to add it manually with the following snippet:
<picklistValues>
<picklist>Salutation</picklist>
<values>
<fullName>TestValue</fullName>
<default>true</default>
</values>
</picklistValues>
Sadly, with no success. The error which I received, when I tried to deploy it to another Sandbox:
force-app\main\default\objects\Lead\recordTypes\Lead.recordType-meta.xml An unexpected error occurred. Please include this ErrorId if you contact support: 1240518550-106518 (111178417) (3:66)
I'm a little surprised as other standard picklists are possible to manage this way, an Industry for instance - this one works pretty fine.
Any thoughts? Thanks!