Posts

Showing posts from October, 2019

Using SFDX & the Metadata API to Compare Page Layouts Between Salesforce Orgs

Image
Have you ever gone live with a Salesforce implementation or enhancement project only to realize that what the users see on the screen doesn't match what they saw during UAT testing? You may have forgotten to deploy your page layouts or lightning record pages. In this article, I'll talk about how to rapidly identify the differences in page layouts and lightning record pages between two Salesforce orgs using sfdx and the Metadata API. Prerequisites Install Git Install Visual Studio Code Install SFDX Install the Salesforce Extensions for Visual Studio Code Install GitKraken Steps Open the command palette and select SFDX: Create Project with Manifest Follow the prompts to select a project name and designate what root folder the project should be created in Select the empty template Expand the manifest  folder and open the package.xml file Replace the contents with the package.xml file from this GitHub gist Open the command palette and run SFDX: Auth