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
DowithforceDowithforce 

Use of connection.js and apex.js in visualforce pages is valid?

Hello All,

 

As new Scontrol is no longer supported in development.

Is there any risk to use of connection.js and  apex.js in visualforce pages?

 

Just want an expert thought and discussion on this.

 

 

Thanks

 

Best Answer chosen by Admin (Salesforce Developers) 
aalbertaalbert
With Visualforce, you should to the data through standard or custom controllers. You shouldn't need to use those js files to invoke apex or api calls from within Visualforce.

All Answers

aalbertaalbert
With Visualforce, you should to the data through standard or custom controllers. You shouldn't need to use those js files to invoke apex or api calls from within Visualforce.
This was selected as the best answer
DowithforceDowithforce
connection.js and  apex.js are they going to deprecate with scontrol?