I'm trying to enable custom metada types to my permission sets in my metadata.xml file and deploy it to an org and I get this errir.
I've tried updating API versions in my package.xml but still no luck. Any suggestions
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityI'm trying to enable custom metada types to my permission sets in my metadata.xml file and deploy it to an org and I get this errir.
I've tried updating API versions in my package.xml but still no luck. Any suggestions
You need to also update the apiVersion in the metadata files.
To do that, you can run the following script at the root of your metatada folder (you need salesforce DX and sfdx-essentials plugin : https://github.com/nvuillam/sfdx-essentials#sfdx-essentialsprojectchange-dependency-version )
sfdx essentials:project:change-dependency-version -a 47.0