1

SFDC folks – I have a question and need all your inputs on migrating Salesforce compoents(fields, Record types and pick list values…) associated to Profiles in the source org to target org though ANT migration tool/Change sets. If I include 10 fields and 3 profiles(Profile 1, Profile 2 and Profil 3 – Assume all the 3 profiles exists in target org) , Will migration tool modifies only the 10 fields and field level security settings associated with 3 profiles included in the package.xml or will it override the Profiles in the target org irrespective of fields mentioned in the package.xml in the target org?.

Also there was a saying that do not include the Profiles in any of the migration tool(ANT or Changes set) and perform all the field level security settings manually in target org after deployment. Is it is true statement. ?

My thought is we can very well include the profiles in package.xml, otherwise it will be a tedious work to enable the permissions if the fields are more.

Please clarify the above questions.

Thanks, Indy

1 Answer 1

2

If you include Profiles and 10 fields in package.xml ,all the fields along with respective of FLS of those profiles included in the package XML will be respected .

I do not think its right idea to exclude profiles in your package.xml since that will be mean lot of manual work .

In short "yes migration tool modifies only the 10 fields and field level security settings associated with 3 profiles included in the package.xml and it will not override the other settings of the profile"

4
  • Mohith - Thank you for your reply. What might be reason that Salesforce Community suggests not to include the Profiles in the package.xml. ? Commented Aug 27, 2016 at 18:18
  • Sorry I do not suggest same for standard and custom profiles. Where did you find to migrate profile permission manually ? Commented Aug 27, 2016 at 18:30
  • Standard Profiles I can understand, What do you mean by custom profiles. All the 3 profiles I mentioned in my original conversation was custom profiles (Project specific) only. Commented Aug 27, 2016 at 18:56
  • For custom profiles you can incude profiles and that should carry FLS for all fields you include .Thanks Commented Aug 27, 2016 at 19:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .