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
jagjitsingh@indivar.comjagjitsingh@indivar.com 

Error

Hi

 

using SalesForce;

 

SalesForce.SforceService service = newSforceService();

SaveResult [] saveResults = binding.create(accounts);

 

It gives error binding does not exist in current context.

 

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
pankaj.raijadepankaj.raijade

The issue id in second line

Instaid of "binding.create(accounts); " you should be using "service.create(accounts);"