Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [externalobjects]

External objects are similar to custom objects, but external object record data is stored outside your Salesforce organization. External objects are available with Salesforce Connect and Files Connect.

0
votes
0answers
11 views

Show external object in search component for communities

I'm using the standard search component but I am not able to add external objects in the list of "Objects in Autocomplete Results" . However, I can find them in the search box for the Org. Does ...
1
vote
0answers
28 views

Database.querylocater on external object in batch class not returning any rows

I am writing a batch class on external object. Here I am using database.getQuerylocator in start method as the result will contain more thank 50k records. Batch class code: global class <...
3
votes
1answer
81 views

Related List for external object not showing any records in Lightning (SharePoint Online)

I am having problems with displaying data from external data source in Lightning. I have a connection to SharePoint Online while using Indirect Lookup relationship to match external data with Accounts....
0
votes
1answer
22 views

Salesforce External Object - Query where clause text size issue

As per requirement i was query to external object for selected product in where clause i was put all the product id but till 100 Id its working fine but for 200 its giving error . How we can avoid ...
2
votes
3answers
108 views

Overcome Queueable maximum depth limit in dev orgs

To migrate "trees of related data" from an external system to Salesforce I am using dynamic chains of Apex Queueables. Imagine I am "synchronizing" Accounts, Opportunities and Contacts from an ...
0
votes
0answers
18 views

Error when trying retrieve record id from external object detail page on button click

I have a custom button on a external object detail page which executes a java script.I am trying to fetch the id of the record var id = '{!ExternalObject__x.Id}' and when i click on save I received ...
0
votes
0answers
46 views

Code Coverage - Salesforce Connect Custom Adapter / Datasource.Connection Class

I am unable to find documentation on or get any code coverage for the customer adapter Apex Class (Datasource.Connection Class). For awareness, the external data source and customer adapter functions ...
0
votes
0answers
21 views

Salesforce External Data Connect

I have connected an external data source to Salesforce to fetch data. The data was getting fetched properly.Currently when I am logging into the application it is showing an Internal Error.Also in the ...
0
votes
0answers
18 views

Pass Variable to Endpoint from External Data Object Filter - Salesforce Connect

I have an endpoint that I am utilizing for External Data Objects in Salesforce Connect. I pass a value from the SOQL filter (WHERE clause), but as we know this is only applicable if there is a field ...
2
votes
0answers
21 views

Salesforce Connect report limitations?

We have an Odata endpoint configured for SF Connect access. 3 simple external objects, and having an extremely difficult time getting reports to function. Standard reports are ok until you add any ...
1
vote
1answer
26 views

Add Image to External Objects

I have created an External Object Customer . I need to add documents as well such as passport pic & pdf document. The data is now saved as binary from the database that I load data from. My ...
0
votes
0answers
77 views

Write files to Google Drive with External Data Storage

Using this tutorial I have connected my SF instance to Google Drive. I can only view the files --- is there a way to write to drive too? If it can be done, can it be added on a related list on ...
19
votes
1answer
172 views

Are Custom Metadata Types considered External Data Sources?

Back in 2016 we created a Custom Metadata Type with about 3000 rows. There is a trigger that reads all 3000 rows (via SOQL) and creates a map. This has been working for years, until Winter '19. Now, ...
1
vote
1answer
133 views

External Object general error message on login

When logging into an org as a System Admin, I receive the following error: The text of the error message: "Developer error in file apex://Order__x at line number -1" Stack trace error message: "...
1
vote
0answers
33 views

How to connect to SAP through Salesforce Connect

Can anyone help me how to connect to External Data i.e, SAP through Salesforce connect using External Data Source and External Objects. Thanks.
3
votes
0answers
56 views

Salesforce Connect Custom Adapter test class

What is the correct way to approach testing Salesforce Connect custom adapters? Perhaps there is a unified approach to testing all of its parts, but specifically what is the approach for testing the ...
2
votes
0answers
105 views

Obtaning refresh token when using Extenral Data Source with Salesforce OAuth 2

I'm trying to configure an External Data Source to use Salesforce Auth Provider so the OAuth 2 will pass access and refresh token. My configuration: Identity Type: Per User Authentication ...
0
votes
1answer
7 views

How can I add Tab to an External Object's Search Layouts?

I have two External Objects. One I added a few weeks ago and it has a Tab Search Layout: I can't remember how I gave it a Tab Search Layout but I need that for the following External Object (which ...
3
votes
1answer
179 views

Identifying user interacting with external objects using Salesforce Connect OData 4.0

I have external data source configured in Salesforce, it connects to OData 4.0 API. Let's say I have 1 external object in this data source, called Kitten. The problem: I want security to be handled on ...
0
votes
1answer
70 views

External Objects: The value of a parameter contains a character that is not allowed or the value exceeds the maximum allowed length

I created an External Object using an OData 4.0 provider and attempted to display the values of this object (several columns) in a listview. The listview displays an error with text as in title of OP:...
0
votes
1answer
453 views

External Object in Lightning error: “Unsupported Item”

I am currently developing a custom Apex adapter for Salesforce Connect. In Classic, the external object record is loading successfully from the external source. When I load the record in Lightning, ...
1
vote
2answers
111 views

SOSL for External Object

I have configured a Salesforce Connect relationship to an external data source using a custom Apex adapter. I am trying to configure one of the external objects to allow search. I have selected the "...
1
vote
0answers
41 views

SF Connect Custom Adapter: upsertRows not called

I have implemented a custom adapter for Salesforce Connect - two Apex classes, one that implements DataSource.Provider, the other implements DataSource.Connection. I have configured an External Data ...
2
votes
1answer
72 views

Map SFDC object to existing Table in Heroku

We have a Customer table that already exists in Heroku and we want to map that table to a custom object in Salesforce. When the Postgres table is updated, we want the corresponding custom object ...
5
votes
1answer
162 views

Can external object data be mocked?

We have a customer that has several large (many fields) external objects in their internal production environment. We need to do some development that will be very dependent on those object ...
1
vote
1answer
332 views

External Data source through apex custom adapter

I want to connect the external database from salesforce. I have developed the custom adapter (DataSource.Connection class and DataSource.Provider class). In connection class, Sync method is working ...
0
votes
1answer
107 views

OData connection using Lightining 2.0

When i am set up the url in salesforce and validate ans sync i am receiving this error. Please suggest me how to solve this ,its kind of urgency You don't have permission to view this external data....