Newer Version Available
Considerations for the Apex Connector Framework
Understand the limits and
considerations for creating Salesforce Connect custom adapters with the Apex Connector Framework.
- Make sure that you understand the limits of the external system’s APIs. For example, some external systems accept only requests for up to 40 rows.
- Data type limitations:
- Custom adapters for Salesforce Connect are subject to the same limitations as any other Apex code. For example:
- All Apex governor limits apply.
- Apex callouts aren’t allowed after data manipulation language (DML) operations in the same transaction. Therefore, within the same transaction, you can't update a Salesforce record and then do an Apex callout.
- Test methods don’t support web service callouts; tests that perform web service callouts fail. For an example that shows how to avoid these failing tests by returning mock responses, see Google Drive™ Custom Adapter for Salesforce Connect.