Friday 2 March 2012

Tool for SalesForce Profile Comparison, Field Level Security

Hi many a time while working in Salesforce we get the boring and mechanical task of comparing profiles, and out of this worst part is field level security. This task gets worse when we have some objects with large number of custom fields. So to sort this out I have written a java code that will read files from two different folders(Download profiles in your eclipse and pass the path of the Profile folders from two different project) or if you want to compare just two files, put them in two folders and provide the path of those two folders.

After comparison, the code will generate a parent directory, containing children directories named on the profile, the children directories will contain two csv files each one for object comparison and other for Field level security comparison.

To execute this code, you just need eclipse of core java libraries, and change the path mentioned in the class to that of your system specific path, and get the results.

please find the code below.