Force.com Migration Tool Guide Version 32.0, Winter ’15 @salesforcedocs Last up

Force.com Migration Tool Guide Version 32.0, Winter ’15 @salesforcedocs Last updated: November 7, 2014 © Copyright 2000–2014 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark of salesforce.com, inc., as are other names and marks. Other marks appearing herein may be trademarks of their respective owners. CONTENTS Chapter 1: Force.com Migration Tool Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Chapter 2: Installing the Force.com Migration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Prerequisites for Using the Force.com Migration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Installing the Force.com Migration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Chapter 3: Using the Force.com Migration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Entering Salesforce Connection Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Constructing a Project Manifest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Specifying Named Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Specifying all Components of a Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Specifying Standard Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Getting Information About Metadata Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Describing Metadata Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Listing Components for a Metadata Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Creating Retrieve Targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Retrieving Unpackaged Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Retrieving Managed or Unmanaged Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Retrieving Components in Bulk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Retrieving Metadata from a Salesforce Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Editing Metadata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Deleting Files from an Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Deploying Changes to a Salesforce Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Deploying Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Deploying Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Running Tests in a Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Checking the Status of a Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Chapter 4: Common Migration Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 CHAPTER 1 Force.com Migration Tool Overview The Force.com Migration Tool is a Java/Ant-based command-line utility for moving metadata between a local directory and a Salesforce organization. The Force.com Migration Tool is especially useful in the following scenarios: • Development projects where you need to populate a test environment with large amounts of setup changes — Making these changes using a Web interface could take a long time. • Multistage release processes — A typical development process requires iterative building, testing, and staging before releasing to a production environment. Scripted retrieval and deployment of components can make this process much more efficient. • Repetitive deployment using the same parameters — You can retrieve all the metadata in your organization, make changes, and deploy a subset of components. If you need to repeat this process, it's as simple as calling the same deployment target again. • When migrating from stage to production is done by IT — Anyone that prefers deploying in a scripting environment will find the Force.com Migration Tool a familiar process. Understanding Metadata API Metadata API contains a set of objects that manage setup and customization information (metadata) for your organizations, uploads/Industriel/ salesforce-migration-guide.pdf

  • 17
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Attribution requise
Partager