SlideShare a Scribd company logo
Ceptes R&D
Jagadeesh
Vijay
Amit
Gowthami
Prateek
Custom Metadata Types
Custom Metadata Types
App Configuration Records?
Standard Configuration Records Custom Configuration Records
Workflow rules Custom Labels
Remote Site Settings Custom Settings
Validation Rule Custom metadata type
Permission Set
Custom Metadata
Deployable Objects and Data (including Managed Packages).
Not editable via Apex (but updatable via Metadata API).
Does not count towards query limits.
Public/Protected Visibility in managed package.
Cached after first head.
Complex data types(including lookups, long text area).
10MB org limit.
Ref: https://github.com/forcedotcom/CustomMetadataLoader
Why CMT and not Custom setting or Custom object?
Key Drivers
Portability
Traceability
Leverage Metadata API deployment tools (change sets).
Eliminate human errors.
Extensibility of architecture to support automated deployments through CI.
Comparison Table
Configuration objects
Lightning Connect
❖ Integrating data from External Systems(Salesforce/any other) without a single
line of code.
❖ It enables us to view, search and modify the records of external system from
within salesforce and it sync the data.
❖ One can use any of the following 3 protocols to integrate:
➢ OData 2.0 adapter | 4.0 adapter REST based protocol.
➢ Cross-org adapter REST based protocol.
➢ Custom adapter created via Apex.
Why Lightning Connect ?
Custom Objects Vs. External Objects
Feature Custom Objects External Objects
Data stored in salesforce org, Sharing Yes No
Read Yes Yes
Write Yes Yes(limited)
Tabs, layouts, Visualforce Yes Yes
Field level security, REST and SOAP API Yes Yes
Reports and Analytics Yes Yes(limited)
Formula fields, Workflows, Triggers Yes Not yet
Relationship Allowed Child
Objects
Allowed Parent
Objects
Parent Field for
Matching Records
Lookup Standard
Custom
External
Standard
Custom
Salesforce Record ID
External Lookup Standard
Custom
External
External External Id Standard
Field
Indirect Lookup External Standard
Custom
Select a custom field
with External Id and
unique attributes
Types of Relationships Available for External Objects
Sync.
❖ Sync. copies only metadata and it doesn’t copy any data from
external system.
❖ Syncing is a one time process. If external system schema is
changed it doesn’t sync changes automatically to salesforce org,
have to resync the objects.
❖ Data types
Limitations:
❖ Maximum external objects per org - 100
❖ Maximum joins per query across external and other types of objects - 4
❖ Maximum new rows retrieved by SOSL and salesforce searches per hour - 1,00,000
❖ Maximum new rows retrieved or created per hour - 50,000
❖ OData callouts per hour for Developer Edition - 1000
❖ OData callouts per hour for Enterprise, Professional, Unlimited - 10,000
❖ Maximum HTTP Request size for OData - 8 MB
❖ Maximum HTTP Response size for OData - 8 MB
❖ External objects doesn’t support following functions:
AVG(), COUNT(field), MIN(), MAX(), SUM(), EXCLUDES,
INCLUDES, LIKE, TYPEOF, WITH, FOR VIEW, FOR REFERENCE, toLabel()
Thank you

More Related Content

PPTX
Dev days 2017 questionnaires (brian postlethwaite)
PPTX
Managing Annotations (OR2016)
PPTX
Transforming other content (grahame)
PDF
Annotating Scholarly Works - the W3C Open Annotation Model
PPTX
Furore devdays 2017 - implementation guides (lloyd)
PPTX
Furore devdays2017 tdd-2-advanced
PPTX
Fire kit ios (r-baldwin)
PPTX
Dev days 2017 questionnaires (brian postlethwaite)
Managing Annotations (OR2016)
Transforming other content (grahame)
Annotating Scholarly Works - the W3C Open Annotation Model
Furore devdays 2017 - implementation guides (lloyd)
Furore devdays2017 tdd-2-advanced
Fire kit ios (r-baldwin)

What's hot (12)

PPT
Introduction to CrossRef Text and Data Mining Webinar
PPT
Love and Metadata: CrossRef at the Hub of Scholarly Communications by Carol A...
PDF
What is web scraping?
PDF
Sparql a simple knowledge query
PDF
Why is JSON-LD Important to Businesses - Franz Inc
PDF
W3C Web Annotation WG Update (I Annotate 2016)
PPTX
Enterprise Search con Liferay 6.1
PPT
Crossref Community Call May 2016
PPTX
Restful web services
PPTX
IIIF Foundational Specifications
PPTX
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
PPT
2009 Dils Flyweb
Introduction to CrossRef Text and Data Mining Webinar
Love and Metadata: CrossRef at the Hub of Scholarly Communications by Carol A...
What is web scraping?
Sparql a simple knowledge query
Why is JSON-LD Important to Businesses - Franz Inc
W3C Web Annotation WG Update (I Annotate 2016)
Enterprise Search con Liferay 6.1
Crossref Community Call May 2016
Restful web services
IIIF Foundational Specifications
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
2009 Dils Flyweb
Ad

Similar to Custom Metadata Types (20)

PPTX
Custom Metadata and Custom Settings and Custom Lebel in Salesforce.pptx
PDF
Use Custom Metadata Types for Easy ALM & Compliance for Your Custom Apps
PPTX
Punta Dreaming by Luciano Straga #pd17 - Punta del Este, Uruguay
PPTX
Salesforce Connect
PPTX
Lightning connect london'15
PDF
Introduction to External Objects and the OData Connector
PPTX
Data model in salesforce
PPTX
Ladies Be Architects - Integration - Multi-Org, Security, JSON, Backup & Restore
PDF
Best practices in using Salesforce Metadata API
PPTX
Salesforce talk
PDF
Best practices in using Salesforce Metadata API
PPT
Data Management and Migration in Salesforce
PPTX
Salesforce data model
PDF
Salesforce connect
PDF
Metadata API
PPT
Custom Metadata Records Deployment From Apex Code
PDF
Advanced Automation with Flows and Custom Metadata Types
PDF
Phx User Group Salesforce Connect
PDF
Beyond Custom Metadata Types
PDF
Rits Brown Bag - Salesforce Lightning External Connection
Custom Metadata and Custom Settings and Custom Lebel in Salesforce.pptx
Use Custom Metadata Types for Easy ALM & Compliance for Your Custom Apps
Punta Dreaming by Luciano Straga #pd17 - Punta del Este, Uruguay
Salesforce Connect
Lightning connect london'15
Introduction to External Objects and the OData Connector
Data model in salesforce
Ladies Be Architects - Integration - Multi-Org, Security, JSON, Backup & Restore
Best practices in using Salesforce Metadata API
Salesforce talk
Best practices in using Salesforce Metadata API
Data Management and Migration in Salesforce
Salesforce data model
Salesforce connect
Metadata API
Custom Metadata Records Deployment From Apex Code
Advanced Automation with Flows and Custom Metadata Types
Phx User Group Salesforce Connect
Beyond Custom Metadata Types
Rits Brown Bag - Salesforce Lightning External Connection
Ad

More from CEPTES Software Inc (20)

PPTX
Webinar - How Einstein AI and Data Cloud Are Disrupting the Financial Industr...
PPTX
200 OK Webinar - Transforming Salesforce Sales Cloud with AI Copilot
PPTX
Salesforce AI & Einstein Copilot Workshop
PPTX
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
PPTX
200 OK v5.0: Unveiling Powerful ETL, Connector Framework and More
PPTX
Magic-ing Away Integration Woes with 200 OK
PDF
The Future is Now: AI-powered Salesforce Integration Explained, Introducing 2...
PPTX
Unwrap the 2024 UAE Real Estate Trends with RealE 360
PPTX
ApExchange Security Review and Compliance
PDF
PDO Webinar - Decoding the Secret of Successful Salesforce AppExchange App Pr...
PDF
Webinar Deck-Building Better, Faster Together with Salesforce No-Code Platform
PPTX
InleData Webinar: Empowering Businesses with Delta Lake
PDF
Supercharge your Real-estate Business Post COVID with Salesforce 360
PDF
WEBINAR: How to Transform your Idea to a Successful AppExchange Enterprise App
PDF
7 Ways Salesforce Sales Cloud Can Transform your Sales Process
PDF
Real-estate Automation Solution | CEPTES
PDF
Salesforce & GitLab Integration for Next-gen DevOps with CEPTES
PDF
Salesforce CPQ Infographic by CEPTES
PDF
CEPTES - Your Trusted Salesforce Partner
PDF
Dreamforce Facts & Numbers
Webinar - How Einstein AI and Data Cloud Are Disrupting the Financial Industr...
200 OK Webinar - Transforming Salesforce Sales Cloud with AI Copilot
Salesforce AI & Einstein Copilot Workshop
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
200 OK v5.0: Unveiling Powerful ETL, Connector Framework and More
Magic-ing Away Integration Woes with 200 OK
The Future is Now: AI-powered Salesforce Integration Explained, Introducing 2...
Unwrap the 2024 UAE Real Estate Trends with RealE 360
ApExchange Security Review and Compliance
PDO Webinar - Decoding the Secret of Successful Salesforce AppExchange App Pr...
Webinar Deck-Building Better, Faster Together with Salesforce No-Code Platform
InleData Webinar: Empowering Businesses with Delta Lake
Supercharge your Real-estate Business Post COVID with Salesforce 360
WEBINAR: How to Transform your Idea to a Successful AppExchange Enterprise App
7 Ways Salesforce Sales Cloud Can Transform your Sales Process
Real-estate Automation Solution | CEPTES
Salesforce & GitLab Integration for Next-gen DevOps with CEPTES
Salesforce CPQ Infographic by CEPTES
CEPTES - Your Trusted Salesforce Partner
Dreamforce Facts & Numbers

Recently uploaded (20)

PPT
Quality review (1)_presentation of this 21
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PDF
Introduction to Data Science and Data Analysis
PPTX
Database Infoormation System (DBIS).pptx
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
IB Computer Science - Internal Assessment.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PDF
Business Analytics and business intelligence.pdf
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PDF
Fluorescence-microscope_Botany_detailed content
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
1_Introduction to advance data techniques.pptx
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PPTX
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
PPTX
Supervised vs unsupervised machine learning algorithms
Quality review (1)_presentation of this 21
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Introduction to Data Science and Data Analysis
Database Infoormation System (DBIS).pptx
Miokarditis (Inflamasi pada Otot Jantung)
IB Computer Science - Internal Assessment.pptx
Clinical guidelines as a resource for EBP(1).pdf
Business Analytics and business intelligence.pdf
Data_Analytics_and_PowerBI_Presentation.pptx
Fluorescence-microscope_Botany_detailed content
Galatica Smart Energy Infrastructure Startup Pitch Deck
ISS -ESG Data flows What is ESG and HowHow
1_Introduction to advance data techniques.pptx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
oil_refinery_comprehensive_20250804084928 (1).pptx
STERILIZATION AND DISINFECTION-1.ppthhhbx
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
Supervised vs unsupervised machine learning algorithms

Custom Metadata Types

  • 3. App Configuration Records? Standard Configuration Records Custom Configuration Records Workflow rules Custom Labels Remote Site Settings Custom Settings Validation Rule Custom metadata type Permission Set
  • 4. Custom Metadata Deployable Objects and Data (including Managed Packages). Not editable via Apex (but updatable via Metadata API). Does not count towards query limits. Public/Protected Visibility in managed package. Cached after first head. Complex data types(including lookups, long text area). 10MB org limit. Ref: https://github.com/forcedotcom/CustomMetadataLoader
  • 5. Why CMT and not Custom setting or Custom object? Key Drivers Portability Traceability Leverage Metadata API deployment tools (change sets). Eliminate human errors. Extensibility of architecture to support automated deployments through CI.
  • 9. ❖ Integrating data from External Systems(Salesforce/any other) without a single line of code. ❖ It enables us to view, search and modify the records of external system from within salesforce and it sync the data. ❖ One can use any of the following 3 protocols to integrate: ➢ OData 2.0 adapter | 4.0 adapter REST based protocol. ➢ Cross-org adapter REST based protocol. ➢ Custom adapter created via Apex. Why Lightning Connect ?
  • 10. Custom Objects Vs. External Objects Feature Custom Objects External Objects Data stored in salesforce org, Sharing Yes No Read Yes Yes Write Yes Yes(limited) Tabs, layouts, Visualforce Yes Yes Field level security, REST and SOAP API Yes Yes Reports and Analytics Yes Yes(limited) Formula fields, Workflows, Triggers Yes Not yet
  • 11. Relationship Allowed Child Objects Allowed Parent Objects Parent Field for Matching Records Lookup Standard Custom External Standard Custom Salesforce Record ID External Lookup Standard Custom External External External Id Standard Field Indirect Lookup External Standard Custom Select a custom field with External Id and unique attributes Types of Relationships Available for External Objects
  • 12. Sync. ❖ Sync. copies only metadata and it doesn’t copy any data from external system. ❖ Syncing is a one time process. If external system schema is changed it doesn’t sync changes automatically to salesforce org, have to resync the objects. ❖ Data types
  • 13. Limitations: ❖ Maximum external objects per org - 100 ❖ Maximum joins per query across external and other types of objects - 4 ❖ Maximum new rows retrieved by SOSL and salesforce searches per hour - 1,00,000 ❖ Maximum new rows retrieved or created per hour - 50,000 ❖ OData callouts per hour for Developer Edition - 1000 ❖ OData callouts per hour for Enterprise, Professional, Unlimited - 10,000 ❖ Maximum HTTP Request size for OData - 8 MB ❖ Maximum HTTP Response size for OData - 8 MB ❖ External objects doesn’t support following functions: AVG(), COUNT(field), MIN(), MAX(), SUM(), EXCLUDES, INCLUDES, LIKE, TYPEOF, WITH, FOR VIEW, FOR REFERENCE, toLabel()