29
From Sandbox To Production An Introduction To Salesforce Release Management Seth Tager, Salesforce, Lead Member of Technical Staff John Vogt, Salesforce, Senior Product Manager

From Sandbox To Production: An Introduction to Salesforce Release Management

Embed Size (px)

DESCRIPTION

Wondering how to manage multiple Salesforce environments for managing your release? Join us as our Architects show how large enterprises manage Sandbox environments. Learn some of the key considerations in picking sandbox types and migration tools to lay out a process to manage an effective Release Management.

Citation preview

Page 1: From Sandbox To Production: An Introduction to Salesforce Release Management

From Sandbox To ProductionAn Introduction To Salesforce Release Management

Seth Tager, Salesforce, Lead Member of Technical StaffJohn Vogt, Salesforce, Senior Product Manager

Page 2: From Sandbox To Production: An Introduction to Salesforce Release Management

Safe harborSafe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

Page 3: From Sandbox To Production: An Introduction to Salesforce Release Management

John VogtProduct Manager,

Platform

Page 4: From Sandbox To Production: An Introduction to Salesforce Release Management

AgendaOverviewA Story about Salesforce Customization

▪ Customization and Deployment▪ Process and Governance

RecapNext StepsQ & A

Page 5: From Sandbox To Production: An Introduction to Salesforce Release Management

Overview

Page 6: From Sandbox To Production: An Introduction to Salesforce Release Management

OverviewA Story about Customization and DeploymentBest Practices

▪ Metadata Tools▪ Governance▪ Environment Management

Typical Pitfalls▪ Failed Deployments▪ Un-supported Metadata Components

Page 7: From Sandbox To Production: An Introduction to Salesforce Release Management

A Story about Salesforce Customization

Page 8: From Sandbox To Production: An Introduction to Salesforce Release Management

A little bit of info about our fake company…Acme Company

▪ Purchased CRM Enterprise Edition from Salesforce – No Add-on Products▪ Small IT department, 2 Developers, admins wear many hats

Use Cases▪ Typical - need to track contacts, accounts, orders

Requirements▪ Create custom order forms to track orders, update accounts, and contacts

• Visualforce Pages for form• Apex Controller to manage work flow• Customer Schema objects and fields for further customization

Page 9: From Sandbox To Production: An Introduction to Salesforce Release Management

Org Customization for AcmeIf Possible, Stay in the Browser

▪ With a small or no IT shop and limited admin or developers, its best to avoid desktop tools that you would have to install, upgrade, etc.

▪ Staying in the browser, you still have the ability to customize through several tools▪ If you are using Apex or Visualforce, we recommend the Developer Console. This tool is

getting the most attention in our dev teams and has a solid roadmap.

Stick with Point and Click▪ Point and click features were created because anyone can jump right in and customize – this

can empower some business users that don’t have a traditional IT/software development background

Sandbox First!

Page 10: From Sandbox To Production: An Introduction to Salesforce Release Management

Demonstration

Page 11: From Sandbox To Production: An Introduction to Salesforce Release Management

Demonstration▪ Created Some Objects and Fields▪ Use Developer Console to quickly create a Visualforce or Apex class▪ Set up deployment connections▪ Create an outbound change set and upload▪ Deploy the changes and validate the deploy

Page 12: From Sandbox To Production: An Introduction to Salesforce Release Management

Quick RecapStay in the Browser

▪ Stick with Point and Click▪ Use Developer Console for Development▪ Use Change Sets for Deployment

Test & Validate before you Upload & Deploy▪ Understand the criteria for code coverage on Apex

Develop & Test in the Sandbox

Page 13: From Sandbox To Production: An Introduction to Salesforce Release Management

Demonstration

Page 14: From Sandbox To Production: An Introduction to Salesforce Release Management

Demonstration▪ Play the role of another unchecked user ▪ Modify the custom schema in the production org▪ As the original sys admin make an addition change to the schema in

the sandbox▪ Create the outbound change set, upload, and deploy

Page 15: From Sandbox To Production: An Introduction to Salesforce Release Management

Best Practices for Force.com DevelopmentHave a Change/Release Management Process!

▪ No change management process out of the box

Have a documented Project Plan▪ Requirements/User Stories▪ Test Plans▪ Release Schedule

Have strict User Governance▪ Restrict admin capabilities in the production org to a small group that also

manage the release▪ Limit user access in developer sandbox (Developers, Testers Only)

Page 16: From Sandbox To Production: An Introduction to Salesforce Release Management

Demonstration

Page 17: From Sandbox To Production: An Introduction to Salesforce Release Management

Demonstration▪ Create a new Permission Set on AcmeOrder▪ Create the outbound change set, including the Permission Set▪ Save, Upload, and Deploy the change set▪ Deploy and Validate in the production org.

Page 18: From Sandbox To Production: An Introduction to Salesforce Release Management

What just happened to my Profile/Permission Set?Profiles and Permissions Sets are not standaloneProfiles and Permission Sets must be assigned in the production orgGood use cases for deploying profiles:

▪ Object CRUD▪ Field Permissions

Bad use cases for deploying profiles:▪ Layouts▪ Record Types

Dude, Where's my permission?

Page 19: From Sandbox To Production: An Introduction to Salesforce Release Management

I can’t add my component to a Change SetManual Deployments can be necessary

▪ Not all components are exposed through the Metadata API▪ Unsupported Metadata Types

Best Practice: ▪ Deploy as much as possible with Change Sets▪ Then go to the production org and manually create the components you have

already created and tested in the Sandbox

Page 20: From Sandbox To Production: An Introduction to Salesforce Release Management

Best Practices for Release SchedulingUnderstand our release schedules

▪ 3 Major Releases▪ Participate in the Preview Window▪ Follow Trust

When to deploy▪ Conservative:

• Do not release during the preview window• Let the major release simmer for a few weeks

▪ Aggressive: • Release early and often

Page 21: From Sandbox To Production: An Introduction to Salesforce Release Management

Best Practices for managing your SandboxRefresh after Every ReleaseCreate a Post Refresh Run-List

▪ Include this as part of your change/release management process▪ Document the following:

• Data masking needs• User/Profile Modifications • Test Data loads• Turn off scheduled jobs• Manage Outbound Email

Page 22: From Sandbox To Production: An Introduction to Salesforce Release Management

Recap

Page 23: From Sandbox To Production: An Introduction to Salesforce Release Management

RecapStay in the BrowserTest & Validate before Upload & DeployHave a Release/Change Management processMaintain Strict User GovernanceHave a Post Refresh Run List

Page 24: From Sandbox To Production: An Introduction to Salesforce Release Management

ALM Roadmap

Page 25: From Sandbox To Production: An Introduction to Salesforce Release Management

New Sandbox Lineup & BundlesDeveloper Developer Pro Partial Copy Full

Refresh Interval 1 Day 1 Day 5 Days 29 Days

Includes Setup Configuration Yes Yes Yes Yes

Copies Data Records No No Yes Yes

Sandbox Templates/ Sampling No & No No & No Yes & Yes (10,000

records/object)Yes & No (Full Data /

Object)

Bundled Developer Sandboxes None 5 10 15

Sandbox Size 200MB 1GB(~500K records)

5GB(2.5M records) Match production

Page 26: From Sandbox To Production: An Introduction to Salesforce Release Management

Roadmap

Page 27: From Sandbox To Production: An Introduction to Salesforce Release Management

Speaker Name

Speaker Title,@twittername

Speaker Name

Speaker Title,@twittername

Speaker Name Speaker Name

Speaker Title,@twittername

Speaker Title,@twittername

Page 28: From Sandbox To Production: An Introduction to Salesforce Release Management

We want to hear from YOU!

Please take a moment to complete our session survey

Surveys can be found in the “My Agenda” portion of the Dreamforce app

Page 29: From Sandbox To Production: An Introduction to Salesforce Release Management