function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bart Rodenbaugh 14Bart Rodenbaugh 14 

Created a custom class to extend the datasource.com connection class.

My developer has created a custom class to extend the datasource.connection class and when he hits SAVE, gets the followin error message:

EROR: Compile Error? Type not visible: DataSource.Connection at line 5 column 15.

Line 5 states:
global class  TestUserDataSourceConnection extends DataSource.Connection {

Problem at botton says: Line 5 Type is not visible: DataSource.Connection

Any ideas what may causing the error?
VinayVinay (Salesforce Developers) 
Hi Bart,

Check below link that can help you.

https://trailblazers.salesforce.com/answers?id=9063A000000igSSQAY

Thanks,