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
14 views

Creating records in other salesforce org when created in the source org [on hold]

I have a requirement of syncing data between two salesforce orgs. i.e having a same object in both the orgs and when a record is created in one org, it should get created in the other org in an ...
2
votes
3answers
104 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
17 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
1answer
33 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
13 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
16 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
20 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
23 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
56 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 ...
18
votes
1answer
161 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
111 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
32 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.
0
votes
0answers
11 views

How to shape ODATA datasource for Salesforce Connect to appear as related list?

I am starting with an ODATA datasource and Salesforce Connect and want to show an external object as a related list on an Account page. One of the fields in my ODATA datasource is the Account Id, ...
3
votes
0answers
52 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
96 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
0answers
48 views

Error displaying one external table in salesforce

I have configured an external datasource in salesforce. While I able to display all the external objects in salesforce but the data of one object is not visible in salesforce. After enabling debug ...
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 ...
0
votes
0answers
31 views

Wild card search for external Objects

I am using Odata to connect to external objects and I have a requirement to display results based on search strings provided in visualforce page. I just learnt that Salesforce doesn't support Like ...
3
votes
1answer
151 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
59 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
397 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
100 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
40 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
66 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
140 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
278 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
100 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....