#1. Merge two Profiles into a single source file

Merge Profiles between SFDC orgs in a CI/CD pipeline.

M's photo
M
·Dec 1, 2021·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Merge two Profiles to a single Profile source record, using sfpowerkit.

sfdx sfpowerkit:source:profile:merge

-n|--profilelist # Comma'd list of profiles
-u|--targetusername # The target username
-m|--metadata # Comma'd list of metadata for which to get permissions

The primary use-case here is merging reconciled Profiles from a development org, into a Production org, which may have more or enhanced types available, such as ScratchOrgSettings.

 
Share this