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 start your AI Journey?

Table of Contents Introduction Are you tired of the same old world? Do you dream of painting landscapes with your code, composing symphonies with data, or...

The Secret Weapon: Prompt Engineering: 🪄

Table of Contents Introduction Crafting the perfect prompt is like whispering secret instructions to your AI muse. But there's no one-size-fits-all approach! Exploring different types of...

How to Singup for your own Production org?

Let's see how we can have our salesforce enterprise Salesforce Org for a 30-day Trial and use it as a Production environment. With the...

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