Whenever I create my scratch org I have to manually assign Record Types to the Standard User and System Administrator profile.

Is there any way to automize that?

1 Answer 1


@Robert. Why would you not add a secondary packageDirectory that is not included in the package version build but contains a profile metadata item that maps the record type for the profiles and would be pushed to the scratch org when you do a force:source:push ?

You must log in to answer this question.

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