is there a quick way to retrieve the entire (100% of fields) profile from an organization? I need retrieve all profiles data from org. How can i do this ? If i try add all metadata types to package.xml the process is not completed due to the large amount of data.
Is there a quick way to retrieve the entire (100% of fields) profile from an organization
metadata-apisalesforcedx
Related Topic
- [SalesForce] Pulling *full* Profile XML without hitting metadata limit
- [SalesForce] retrieve a Profile’s XML with Managed Package metadata
- [SalesForce] You can specify RecordType in the package/retrieve it with SFDX, but it won’t include Fields unless you retrieve them too. Is there a way around that
- [SalesForce] Retrieve and Deploy Custom Fields with Profile FLS settings via SFDX
- SFDX retrieves all fields in an Object
Best Answer
Background
When retrieving Metadata most tools use the retrieve() call from the File-based Metadata API. This only returns permissions of the Metadata Components that are specified in the given manifest.
Example:
Solution
A full
Profile
is returned if you use the readMetadata() call from the CRUD (REST) Metadata API.As this call returns JSON, you might need to convert it to XML.
One sfdx plugin which does that is sfdx-plugin-source-read.
Example: (hint:
read
instead ofretrieve
)