1

Recently I have added a new value for a global value set that is being used in a picklist field for an sobject. The field is required, restricted, and has the new added value as the first and default.

After creating a beta package for my ISV including this metadata, upon upgrade, we are facing this error:

(Sobject) '{!Record.Field__c}' is a picklist field.'Test' is an invalid field value.

Do you know what may be the reason?

3

1 Answer 1

3

Global value sets are package upgradeable but new values will not be added automatically, If you have hard dependency to your new value in the picklist, such as using the new value in dynamic forms to adjust your layout visibility, it will cause problem upon package upgrade since the new value have to be added manually after upgrade.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .