Deploy profile metadata changes easily with simple Python script
Moving profile changes to Salesforce environments is a difficult/irritating/troublesome task. This post helps to make developer's life easier when deploying profile changes.Let me explain you with a business scenario. Business Scenario: Universal Containers is using Salesforce Platform for their business automation. They have different sandboxes for development teams. They use Tortoise SVN (Subversion) for version control. Developers check-in their code, metadata(profiles, objects, layouts etc) to SVN. As continuous integration is setup in their organisation, checking into SVN automatically deploys the changes to sandboxes. Problem: Universal Containers have around 90 profiles in their Salesforce environment. Developers have to update the metadata files of all profiles whenever there is a new field created which is time consuming. Solution: We are going to create a Python script which copies the profile permissions to all the profiles. For example, consider the below fi