How to setup External Objects in Salesforce?

on

|

views

and

comments

External DataSource

External Datasource are the source of truth for the external objects in Salesforce.

For Example, you are having customer data in an MySQL server out of your Salesforce Environment then MySQL is the External Data source and the tables inside external data source are known as External Objects

External Objects

  1. External objects are similar to custom objects, except that they map to data that’s stored outside your Salesforce org.
  2. Each external object relies on an external data source definition to connect with the external system’s data
  3. Each org can have up to 200 external objects. External objects don’t count toward the amount for custom objects.

SOQL Considerations for Salesforce Connect

  1. Each SOQL query can have up to 4 joins across external objects and other types of objects.
  2. External objects don’t support the following aggregate functions and clauses.
    1. AVG() function
    2. COUNT(fieldName) function (however, COUNT() is supported)
    3. HAVING clause
    4. GROUP BY clause
    5. MAX() function
    6. MIN() function
    7. SUM() function

Page Layout Limit for External Object

  1. You can’t rename a page layout if you’re using Salesforce Professional Edition.
  2. In Lightning Experience, page layouts support up to 55 lookup fields. In Salesforce Classic, page layouts support up to 40 lookup fields.

Demo

Resources

1 Link to External DataSource – https://orderdb.herokuapp.com/orders.svc
2 – https://trailhead.salesforce.com/content/learn/projects/quickstart-lightning-connect
3 – https://help.salesforce.com/articleView?id=platform_connect_considerations.htm&type=0
4 – https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_external_objects.htm

Amit Singh
Amit Singhhttps://www.pantherschools.com/
Amit Singh aka @sfdcpanther/pantherschools, a Salesforce Technical Architect, Consultant with over 8+ years of experience in Salesforce technology. 21x Certified. Blogger, Speaker, and Instructor. DevSecOps Champion
Share this

Leave a review

Excellent

SUBSCRIBE-US

Book a 1:1 Call

Must-read

How to Utilize Salesforce CLI sf (v2)

The Salesforce CLI is not just a tool; it’s the cornerstone of development on the Salesforce Platform. It’s your go-to for building, testing, deploying, and more. As one of the most important development tools in our ecosystem

Save the day of a Developer with Apex Log Analyzer

Table of Contents What is Apex Log Analyzer? Apex Log Analyzer, a tool designed with Salesforce developers in mind, is here to simplify and accelerate your...

Salesforce PodCast

Introduction Hey Everyone, Welcome to my podcast, the first-ever podcast in India for Salesforce professionals. Achievement We are happy to announce that we have been selected as Top...

Recent articles

More like this

2 COMMENTS

  1. Great Post – Amit as per Trailhead. In case of External lookup you can have Parent object as external and child can be related as Standard or Custom or any other external object.
    And , in case of Indirect Lookup Parent Object will be Standard or Custom but child will be always External.

    Reference at the end of this page:
    https://trailhead.salesforce.com/content/learn/modules/large-data-volumes/design-your-data-model?trailmix_creator_id=strailhead&trailmix_slug=architect-data-architecture-and-management

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Hi , I am practicing document (PDF ) integration with salesforce , Regards, Towfeeq. +919491001429How to setup External Objects in Salesforce?
5/5

Stuck in coding limbo?

Our courses unlock your tech potential