Hi ,
Here we are going learn how we can Convert Source format to Metadata Format and Deploy with the help of SFDX commands.
We can do this via command prompt or vs code terminal after opening the project.
Let's look into following simple steps:
- Create a folder to put the converted files called "mdapioutput" (any name can be given for Folder or directory name)
- mkdir mdapioutput
- Run the convert command
- sfdx force:source:convert -d mdapioutput/
- Deploy it to your testing environment or production
- sfdx force:mdapi:deploy -d mdapioutput/
- Assign permission set if there is any
- sfdx force:user:permset:assign --permsetname <permset_name> --targetusername <username/alias>
Reference:
No comments:
Post a Comment