SlideShare a Scribd company logo
SALESFORCE DEVELOPER CONFERENCE
Adventure Awaits Every Trailblazer!
June 26-28, 2017 San Francisco
$499 Early Bird Tickets | 120+ Technical Sessions
sfdc.co/TrailheaDX
Partner Discount Code: TDX17DSL10
ISV Monthly Technical
Enablement
May 2017
Agenda and Speakers
Image
Host Metadata API in Apex
Andrey Volosevich
Director, Technical Enablement
@andreyvol
Aaron Slettehaugh
Senior Director, Product Management
@slettehaugh
Coming Soon! Summer ‘17 Release Readiness for ISVs
The best features for ISVs from the upcoming release
Don’t miss this special event! Thursday, June 15 @ 9:00am PDT
IMPROVED! Wave Packaging & Templates
NEW! Salesforce DX enters Open Beta
NEW! Apex Metadata API goes GA
NEW! Lightning Data Service enters Beta
Summer ‘17 for ISVs
Awesome ISV
Features!
Devs, admins, partners & more:
20k+ virtual attendees
2k+ full conf attendees
1k+ free expo attendees
Trailhead
Quest
Fun after-party
Amazing band
Keynote with Keith Block
120+ technical sessions
40+ Partners
25+ Salesforce demos
Kids coding
Help Non-profits
Equality & WIT
TrailheaDX - The Must-attend Developer Conference of the Year
Moscone West, June 27-28, 2016 - San Francisco
#TDX17
Partner Discount Code: TDX17DSL10
New Customers are Looking for Lightning Ready Apps
Lightning Ready = Your App Works in Lightning
Lightning Styling and Lightning Components are not required
New Apps Must be Lightning Ready to Enter Security Review
Make sure they find yours by being Lightning Ready
Learn More at:
Apex Metadata API
May 2017
Aaron Slettehaugh
@slettehaugh
Forward-Looking Statements
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.
This will be
revolutionary for app
developers
Massive time
saver
So freaking
helpful
My life would be so
much richer with an
Apex Metadata API
Demand in GitHub
Top 10 Apex Language Repos in GitHub by Number of Forks
MetadataAPIwrapper
Metadata API in Apex
Use Cases
Create spider chart on Contact object
• 6 custom fields
• 31 custom metadata
records with 9 attributes
courtesy of
Create a new spider chart with three attributes
ScalesAxesCharts
courtesy of
● Reduces number of clicks by 2/3
● Maps to the conceptual image of what the admin is building
ISV Monthly Tech Enablement (May 18, 2017)
Custom metadata types Page Layouts Picklist Values Custom Fields
Common configuration needs
Picklist
ISV app customizations require hundreds or thousands of changes to:
Demo Time
Post install script with
Apex Metadata Deploy
PostInstallScript.apxc
DeployMetadata.apxc
PostInstallCallback.apxc
Managed Apex does deploy on behalf of subscriber
Except for:
• Setup audit trail
• Protected metadata
Hello
my namespace is
Subscriber
ISV Monthly Tech Enablement (May 18, 2017)
When can packaged code write metadata with Apex?
Deploy
MD on
Deploy
MD off
Certified
Uncertified
Unmanaged
Subscriber org
Package
Security features
• Safe metadata types
• Trusted apps
• Setup audit trail
• Your app must alert subscribers it can change their org
Benefits
• Make setup experience faster and easier for non-experts
• Eliminate some setup steps entirely
• Provide admins the capability to change configuration on the fly
• Increase product adoption by lowering the barrier to setup trial orgs
• Get more customers on the latest version of your app
• Hide configuration data with protected metadata
• Eliminate reliance on remote site settings, reducing the complexity
of your code and simplifying customers’ setup
What to keep in mind
• Put a notice letting customers know app can modify their metadata
• Only whitelisted types supported
• For testing: uncertified managed packages require the subscriber
org setting
• Delete is not supported
Roadmap
• Retrieve synchronously
• Create and Update via asynchronous
deploy
• Callback on completion
• Metadata types supported
• Records of custom metadata types
• Page layouts
• Trusted apps only
• Installed package is “ApexCertified” or
• Sub org has setting enabled
• Audit history tracks namespace
• Track deploy status
• (deployJobId)
• Support more metadata types
• Picklist values
• Custom fields
• etc.
----------------------------------------
• “Delete” not on roadmap
Summer ’17 Future releases
What metadata types do you need supported?
Join “Apex Metadata API” group in the Success Community and let us know
https://success.salesforce.com/0F930000000PbSh
More info
Try it now in pre-release orgs or sandboxes
Release notes:
https://releasenotes.docs.salesforce.com/en-us/summer17/release-notes/rn_forcecom_isvforce_metadata.htm
Success Community Chatter group:
• See previous slide
Blog post:
• Coming soon
Questions?
Success Community “Apex Metadata API” group:
https://success.salesforce.com/0F930000000PbSh
Twitter:
@slettehaugh
Editions that can use each feature
Author
Apex *
Execute
apex in
general
Execute
ISV apex
Create
sandbox
Use
change
sets
Use MD
API
Install
package
Execute
MD API
in Apex
Create
CMD
Type
Install CMD
Type & Create
Record
Performance ✗ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
Unlimited ✗ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
Enterprise ✗ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔
Professional ✗ ✗ ✔ ✔ ✗ ✗ ✔ ✔ ✗ ✔
Group ✗ ✗ ✔ ✗ ✗ ✗ ✔ ✔ ✗ ✔
Developer ✔ ✔ ✔ ✗ ✔ ✔ ✔ ✔ ✔ ✔
* Performance, Unlimited, and Enterprise Editions can Author Apex in their Sandbox orgs
ISV Monthly Tech Enablement (May 18, 2017)
SALESFORCE DEVELOPER CONFERENCE
Adventure Awaits Every Trailblazer!
June 28-29, 2017 San Francisco
$499 Early Bird Tickets | 130+ Technical Sessions
sfdc.co/TrailheaDX
Partner Discount Code: TDX17DSL10

More Related Content

What's hot (20)

PDF
Summer '16 Lightning Update for ISVs (June 30, 2016)
Salesforce Partners
 
PDF
Salesforce DX Pilot Product Overview
Salesforce Partners
 
PDF
Performance Testing ISV Apps to Scale 11/9/2016
Salesforce Partners
 
PDF
ISV Monthly Tech Enablement (August 2017)
Salesforce Partners
 
PDF
Sales Cloud Lightning Migration Best Practices (May 12, 2017)
Salesforce Partners
 
PDF
DF14 Partner Session Guide
Salesforce Partners
 
PDF
Spring 17 ISV Release Readiness (February 16, 2017)
Salesforce Partners
 
PDF
Lightning Now for Consulting Partners
Salesforce Partners
 
PDF
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
PPTX
TrailheaDX and Summer '19: Developer Highlights
Salesforce Developers
 
PDF
Partner Certification Preparation
Salesforce Partners
 
PDF
ISV Lightning Webinar Series - Part 1 (December 1, 2015)
Salesforce Partners
 
PDF
Einstein Analytics for Partners
Salesforce Partners
 
PDF
Spring '16 Lightning Update for ISVs (March 15, 2016)
Salesforce Partners
 
PPTX
Enterprise-grade UI with open source Lightning Web Components
Salesforce Developers
 
PDF
Modern App Dev: Modular Development Strategies
Salesforce Developers
 
PDF
Dreamforce 2017: Salesforce DX - an Admin's Perspective
Mike White
 
PDF
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
PDF
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
PDF
Make Your App Lightning Ready with Winter '17 (December 8, 2016)
Salesforce Partners
 
Summer '16 Lightning Update for ISVs (June 30, 2016)
Salesforce Partners
 
Salesforce DX Pilot Product Overview
Salesforce Partners
 
Performance Testing ISV Apps to Scale 11/9/2016
Salesforce Partners
 
ISV Monthly Tech Enablement (August 2017)
Salesforce Partners
 
Sales Cloud Lightning Migration Best Practices (May 12, 2017)
Salesforce Partners
 
DF14 Partner Session Guide
Salesforce Partners
 
Spring 17 ISV Release Readiness (February 16, 2017)
Salesforce Partners
 
Lightning Now for Consulting Partners
Salesforce Partners
 
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
TrailheaDX and Summer '19: Developer Highlights
Salesforce Developers
 
Partner Certification Preparation
Salesforce Partners
 
ISV Lightning Webinar Series - Part 1 (December 1, 2015)
Salesforce Partners
 
Einstein Analytics for Partners
Salesforce Partners
 
Spring '16 Lightning Update for ISVs (March 15, 2016)
Salesforce Partners
 
Enterprise-grade UI with open source Lightning Web Components
Salesforce Developers
 
Modern App Dev: Modular Development Strategies
Salesforce Developers
 
Dreamforce 2017: Salesforce DX - an Admin's Perspective
Mike White
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
Make Your App Lightning Ready with Winter '17 (December 8, 2016)
Salesforce Partners
 

Similar to ISV Monthly Tech Enablement (May 18, 2017) (20)

PDF
Understanding the Salesforce Architecture: How We Do the Magic We Do
Salesforce Developers
 
PPTX
Salesforce Multitenant Architecture: How We Do the Magic We Do
Salesforce Developers
 
PDF
Building einstein analytics apps uk-compressed
rikkehovgaard
 
PDF
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
Dreamforce
 
PDF
Salesforce platform session 2
Salesforce - Sweden, Denmark, Norway
 
PPTX
Sandboxes: The Future of App Development by Evan Barnet & Pam Barnet
Salesforce Admins
 
PPTX
Tdxgg18 summary presentation
Thierry TROUIN ☁
 
PDF
Spring '16 Release Preview Webinar
Salesforce Developers
 
PDF
Summer '18 Developer Highlights
Salesforce Developers
 
PDF
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Salesforce Partners
 
PPTX
Coding in the App Cloud
Salesforce Developers
 
PDF
Workbench: The API Swiss Army Knife
Salesforce Developers
 
PDF
Enterprise API New Features and Roadmap
Salesforce Developers
 
PPTX
Integrating with salesforce
Mark Adcock
 
PDF
Lightning Reports - Dreamforce 2015
Daniel Peter
 
PPTX
Building Command-line Tools with the Tooling API
Jeff Douglas
 
PDF
Summer '13 Developer Preview Webinar
Salesforce Developers
 
PPTX
An Introduction to Lightning Web Components
Mikkel Flindt Heisterberg
 
PDF
ISV Partner Benefit Series (September 30, 2015)
Salesforce Partners
 
PDF
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
Understanding the Salesforce Architecture: How We Do the Magic We Do
Salesforce Developers
 
Salesforce Multitenant Architecture: How We Do the Magic We Do
Salesforce Developers
 
Building einstein analytics apps uk-compressed
rikkehovgaard
 
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
Dreamforce
 
Salesforce platform session 2
Salesforce - Sweden, Denmark, Norway
 
Sandboxes: The Future of App Development by Evan Barnet & Pam Barnet
Salesforce Admins
 
Tdxgg18 summary presentation
Thierry TROUIN ☁
 
Spring '16 Release Preview Webinar
Salesforce Developers
 
Summer '18 Developer Highlights
Salesforce Developers
 
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Salesforce Partners
 
Coding in the App Cloud
Salesforce Developers
 
Workbench: The API Swiss Army Knife
Salesforce Developers
 
Enterprise API New Features and Roadmap
Salesforce Developers
 
Integrating with salesforce
Mark Adcock
 
Lightning Reports - Dreamforce 2015
Daniel Peter
 
Building Command-line Tools with the Tooling API
Jeff Douglas
 
Summer '13 Developer Preview Webinar
Salesforce Developers
 
An Introduction to Lightning Web Components
Mikkel Flindt Heisterberg
 
ISV Partner Benefit Series (September 30, 2015)
Salesforce Partners
 
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
Ad

More from Salesforce Partners (20)

PDF
Salesforce University - Guide to Certification Paths
Salesforce Partners
 
PDF
Salesforce Proficiency Pack for Administrators
Salesforce Partners
 
PDF
Environment Hub Fundamentals (Salesforce Partners)
Salesforce Partners
 
PDF
Demo Environment Best Practices (Salesforce Partners)
Salesforce Partners
 
PDF
Choosing the Right Demo Environment (Salesforce Partners)
Salesforce Partners
 
PDF
Salesforce Sales Professional Exam Prep
Salesforce Partners
 
PDF
Sales Cloud Lightning Migration Best Practices
Salesforce Partners
 
PDF
Roadmap Webinar Summer '17 (June 1, 2017)
Salesforce Partners
 
PDF
FSL Implementation Guidance Part 1 (May 10, 2017)
Salesforce Partners
 
PDF
AMP Fall & Winter '17 Packages
Salesforce Partners
 
PDF
FSL Implementation Guidance Part 1
Salesforce Partners
 
PDF
Partner Forums Guide
Salesforce Partners
 
PDF
Difficult Conversations and Delivering Bad News
Salesforce Partners
 
PDF
How to Position Lightning
Salesforce Partners
 
PDF
Storytelling
Salesforce Partners
 
PDF
Partner Roadmap (May 04, 2017)
Salesforce Partners
 
PDF
Release and Enviromental Management
Salesforce Partners
 
PDF
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Salesforce Partners
 
PDF
Live Message Partner Training (April 25, 2017)
Salesforce Partners
 
PDF
SF Partner Forum AppExchange Listing Session
Salesforce Partners
 
Salesforce University - Guide to Certification Paths
Salesforce Partners
 
Salesforce Proficiency Pack for Administrators
Salesforce Partners
 
Environment Hub Fundamentals (Salesforce Partners)
Salesforce Partners
 
Demo Environment Best Practices (Salesforce Partners)
Salesforce Partners
 
Choosing the Right Demo Environment (Salesforce Partners)
Salesforce Partners
 
Salesforce Sales Professional Exam Prep
Salesforce Partners
 
Sales Cloud Lightning Migration Best Practices
Salesforce Partners
 
Roadmap Webinar Summer '17 (June 1, 2017)
Salesforce Partners
 
FSL Implementation Guidance Part 1 (May 10, 2017)
Salesforce Partners
 
AMP Fall & Winter '17 Packages
Salesforce Partners
 
FSL Implementation Guidance Part 1
Salesforce Partners
 
Partner Forums Guide
Salesforce Partners
 
Difficult Conversations and Delivering Bad News
Salesforce Partners
 
How to Position Lightning
Salesforce Partners
 
Storytelling
Salesforce Partners
 
Partner Roadmap (May 04, 2017)
Salesforce Partners
 
Release and Enviromental Management
Salesforce Partners
 
Introduction to A.I in Sales Cloud and Sales Cloud Einstein (April 27, 2017)
Salesforce Partners
 
Live Message Partner Training (April 25, 2017)
Salesforce Partners
 
SF Partner Forum AppExchange Listing Session
Salesforce Partners
 
Ad

Recently uploaded (20)

PDF
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
PPTX
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
PDF
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
 
PDF
Enhancing Security in VAST: Towards Static Vulnerability Scanning
ESUG
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
PDF
What companies do with Pharo (ESUG 2025)
ESUG
 
PDF
AI Image Enhancer: Revolutionizing Visual Quality”
docmasoom
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PDF
Troubleshooting Virtual Threads in Java!
Tier1 app
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PDF
Salesforce Pricing Update 2025: Impact, Strategy & Smart Cost Optimization wi...
GetOnCRM Solutions
 
PDF
Supabase Meetup: Build in a weekend, scale to millions
Carlo Gilmar Padilla Santana
 
PDF
AWS_Agentic_AI_in_Indian_BFSI_A_Strategic_Blueprint_for_Customer.pdf
siddharthnetsavvies
 
PPTX
Employee salary prediction using Machine learning Project template.ppt
bhanuk27082004
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PDF
How Agentic AI Networks are Revolutionizing Collaborative AI Ecosystems in 2025
ronakdubey419
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PDF
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
 
Enhancing Security in VAST: Towards Static Vulnerability Scanning
ESUG
 
Activate_Methodology_Summary presentatio
annapureddyn
 
What companies do with Pharo (ESUG 2025)
ESUG
 
AI Image Enhancer: Revolutionizing Visual Quality”
docmasoom
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
Troubleshooting Virtual Threads in Java!
Tier1 app
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
Salesforce Pricing Update 2025: Impact, Strategy & Smart Cost Optimization wi...
GetOnCRM Solutions
 
Supabase Meetup: Build in a weekend, scale to millions
Carlo Gilmar Padilla Santana
 
AWS_Agentic_AI_in_Indian_BFSI_A_Strategic_Blueprint_for_Customer.pdf
siddharthnetsavvies
 
Employee salary prediction using Machine learning Project template.ppt
bhanuk27082004
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
How Agentic AI Networks are Revolutionizing Collaborative AI Ecosystems in 2025
ronakdubey419
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 

ISV Monthly Tech Enablement (May 18, 2017)

  • 1. SALESFORCE DEVELOPER CONFERENCE Adventure Awaits Every Trailblazer! June 26-28, 2017 San Francisco $499 Early Bird Tickets | 120+ Technical Sessions sfdc.co/TrailheaDX Partner Discount Code: TDX17DSL10
  • 3. Agenda and Speakers Image Host Metadata API in Apex Andrey Volosevich Director, Technical Enablement @andreyvol Aaron Slettehaugh Senior Director, Product Management @slettehaugh
  • 4. Coming Soon! Summer ‘17 Release Readiness for ISVs The best features for ISVs from the upcoming release Don’t miss this special event! Thursday, June 15 @ 9:00am PDT IMPROVED! Wave Packaging & Templates NEW! Salesforce DX enters Open Beta NEW! Apex Metadata API goes GA NEW! Lightning Data Service enters Beta Summer ‘17 for ISVs Awesome ISV Features!
  • 5. Devs, admins, partners & more: 20k+ virtual attendees 2k+ full conf attendees 1k+ free expo attendees Trailhead Quest Fun after-party Amazing band Keynote with Keith Block 120+ technical sessions 40+ Partners 25+ Salesforce demos Kids coding Help Non-profits Equality & WIT TrailheaDX - The Must-attend Developer Conference of the Year Moscone West, June 27-28, 2016 - San Francisco #TDX17 Partner Discount Code: TDX17DSL10
  • 6. New Customers are Looking for Lightning Ready Apps Lightning Ready = Your App Works in Lightning Lightning Styling and Lightning Components are not required New Apps Must be Lightning Ready to Enter Security Review Make sure they find yours by being Lightning Ready Learn More at:
  • 7. Apex Metadata API May 2017 Aaron Slettehaugh @slettehaugh
  • 8. Forward-Looking Statements 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.
  • 9. This will be revolutionary for app developers Massive time saver So freaking helpful My life would be so much richer with an Apex Metadata API
  • 10. Demand in GitHub Top 10 Apex Language Repos in GitHub by Number of Forks MetadataAPIwrapper
  • 11. Metadata API in Apex Use Cases
  • 12. Create spider chart on Contact object • 6 custom fields • 31 custom metadata records with 9 attributes courtesy of
  • 13. Create a new spider chart with three attributes ScalesAxesCharts courtesy of ● Reduces number of clicks by 2/3 ● Maps to the conceptual image of what the admin is building
  • 15. Custom metadata types Page Layouts Picklist Values Custom Fields Common configuration needs Picklist ISV app customizations require hundreds or thousands of changes to:
  • 16. Demo Time Post install script with Apex Metadata Deploy
  • 20. Managed Apex does deploy on behalf of subscriber Except for: • Setup audit trail • Protected metadata Hello my namespace is Subscriber
  • 22. When can packaged code write metadata with Apex? Deploy MD on Deploy MD off Certified Uncertified Unmanaged Subscriber org Package
  • 23. Security features • Safe metadata types • Trusted apps • Setup audit trail • Your app must alert subscribers it can change their org
  • 24. Benefits • Make setup experience faster and easier for non-experts • Eliminate some setup steps entirely • Provide admins the capability to change configuration on the fly • Increase product adoption by lowering the barrier to setup trial orgs • Get more customers on the latest version of your app • Hide configuration data with protected metadata • Eliminate reliance on remote site settings, reducing the complexity of your code and simplifying customers’ setup
  • 25. What to keep in mind • Put a notice letting customers know app can modify their metadata • Only whitelisted types supported • For testing: uncertified managed packages require the subscriber org setting • Delete is not supported
  • 26. Roadmap • Retrieve synchronously • Create and Update via asynchronous deploy • Callback on completion • Metadata types supported • Records of custom metadata types • Page layouts • Trusted apps only • Installed package is “ApexCertified” or • Sub org has setting enabled • Audit history tracks namespace • Track deploy status • (deployJobId) • Support more metadata types • Picklist values • Custom fields • etc. ---------------------------------------- • “Delete” not on roadmap Summer ’17 Future releases
  • 27. What metadata types do you need supported? Join “Apex Metadata API” group in the Success Community and let us know https://success.salesforce.com/0F930000000PbSh
  • 28. More info Try it now in pre-release orgs or sandboxes Release notes: https://releasenotes.docs.salesforce.com/en-us/summer17/release-notes/rn_forcecom_isvforce_metadata.htm Success Community Chatter group: • See previous slide Blog post: • Coming soon
  • 29. Questions? Success Community “Apex Metadata API” group: https://success.salesforce.com/0F930000000PbSh Twitter: @slettehaugh
  • 30. Editions that can use each feature Author Apex * Execute apex in general Execute ISV apex Create sandbox Use change sets Use MD API Install package Execute MD API in Apex Create CMD Type Install CMD Type & Create Record Performance ✗ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ Unlimited ✗ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ Enterprise ✗ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ Professional ✗ ✗ ✔ ✔ ✗ ✗ ✔ ✔ ✗ ✔ Group ✗ ✗ ✔ ✗ ✗ ✗ ✔ ✔ ✗ ✔ Developer ✔ ✔ ✔ ✗ ✔ ✔ ✔ ✔ ✔ ✔ * Performance, Unlimited, and Enterprise Editions can Author Apex in their Sandbox orgs
  • 32. SALESFORCE DEVELOPER CONFERENCE Adventure Awaits Every Trailblazer! June 28-29, 2017 San Francisco $499 Early Bird Tickets | 130+ Technical Sessions sfdc.co/TrailheaDX Partner Discount Code: TDX17DSL10