Import Additional Metadata
Additional metadata contains permission sets and approval processes.
Required Editions
Install Salesforce CLI and authorize it for use with your Salesforce org.
Available in: Lightning Experience Available in: Enterprise and Unlimited Editions where Consumer Goods Cloud is enabled |
- Download metadata from the additional_metadata folder in Static Resources.
-
Extract the cgcloud__additional_metadata.zip
file.
Inside the extracted folder, you can see a file named package.xml and the folders: permissionsets and approvalProcesses. The additional_metadata folder contains the admin and user permission sets, and the TPM Batch User permission set from static resources. The other batch user-related permission sets are available in the CG Cloud managed package.
- Move the extracted folder into the directory where you have installed Salesforce CLI.
- Open the command prompt in Windows or the Terminal in Mac.
- Go to the directory where you’ve installed the Salesforce CLI.
-
Run this Salesforce CLI command:
sf project deploy start --metadata-dir additionalMetadata --target-org ALIAS --wait 5.Use these options with your command:
- project deploy start enables the deployment of metadata by using the metadata API.
- --metadata-dir additionalMetadata specifies the name of the folder that contains the metadata files. If you’re using Windows, specify the complete path to the folder that contains the metadata files.
- --target-org ALIAS specifies the alias of the Salesforce org linked to your Salesforce CLI.
- --wait 5 specifies the number of minutes to wait for the command to finish before timing out.
See Also
Did this article solve your issue?
Let us know so we can improve!

