function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ShreyankaShreyanka 

Retrieve metadata for specific profiles

Hi Everyone,

I want to retrieve fields, page layouts, flows, workflow rules, sharing rules, permission sets, visualforce pages, apex classes, roles, email-to-case, communities, record types, approval process, process builders with respect to 2 specific profiles.

Please help me to achieve above requirement using VS-Code.

Can anyone give package.xml file and steps to retrieve it.


Thanks in advance!
SwethaSwetha (Salesforce Developers) 
HI Shreyanka,
Can you try the steps in https://salesforce.stackexchange.com/a/293111/80089 and see if it helps in retrieving profile-specific metadata

If this information helps, please mark the answer as best. Thank you