How to Retrieve Salesforce ALL Profile Metadata via VSCODE

While retrieving a profile metadata from the org, it does not contain all the permission you provided on that profile which might be due to interdependencies, So in this post, we will discuss how to retrieve any particular profile metadata with all the permissions you provide in your Org.

Usecase

You want to move profile permission from one Org to another Org, Or you are working on a development org now you want to merge your code on any version control system for further deployment.

Prerequisite

Your VSCODE should be ready means all SFDX CLI should be installed and your Org is connected with VSCODE

How to Retrieve Salesforce ALL Profile Metadata via VSCODE

Now let’s start with how we can retrieve salesforce all profile metadata in our vs code

You first need to install the source read the plugin
sfdx plugins:install sfdx-plugin-source-read

once you installed the plugin you simply need to run a command to retrieve salesforce profile metadata
sfdx force:source:read -m "Profile:Admin"

for more details on the source read plugin synk.io
for more such knowledgeable articles you can visit worthread.in

Leave a Comment

Your email address will not be published. Required fields are marked *

%d bloggers like this: