I am moving existing metadata from an org into unlocked packages.I have ran into a problem when it comes to record types.

Problem 1

Because each record type needs to know which pick-list values it has access too, I need to move all pick-lists and default pick-list values as well, but it appears like there is no way to actually package default pick-list values.

Problem 2

If another unlocked package adds a new pick-list to the object. How will the record type know about the new pick-list?

So my question is

How do you package record types correctly?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.