-
Utilizing the Tooling API to Query Deployment Information
User Story Today we are going to cover a worst case scenario. Something was deployed to Production that shouldn’t have been, but we don’t know which deployment holds the answer. The UI for deployments is clunky and doesn’t allow us to see who deployed what without clicking into the individual deployment. This is a hassle,…
-
Using An XSLT File to Transform XML for ANT
User Story We have a new field on the Account object, and we want to prevent users from being able to edit the Account object while we deploy the new field. To do this, we will be using an ANT script to make the Account object Read Only for all profiles and permission sets, and…
-
Mass Updating Profile Object Permissions Via ANT Migration Tool
User Story We have a new object in our organization. We must update our existing profiles to have appropriate permission sets for the object. Some profiles will have Read access, others will have Edit access. We want to automate this because we have dozens of profiles, and we have to make this change in a…
-
Getting Started With ANT: Retrieving Metadata via ANT Migration Tool for Salesforce
User Story We want to automate parts of our deployments using Salesforce’s Metadata API. Background Per Salesforce, the ANT Migration Tool is a “command-line utility for moving metadata between a local directory and a Salesforce org.” Using ANT, repetitive deployment tasks can be automated using Salesforce’s Metadata API. This tutorial assumes that you have the…