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
ArmanArman 

sforceClient.create function returns a java script error

I get this error when I call the sforceclient.create function with my array of records: "The system cannot locate the resource specified".

From what I read on the web, it has to do with incorrect path to the xml file. Has anyone else had this issue? BTW I'm testing my scontrol on the local machine and not on the salesforce yet, would this have anything to do with the problem?
ArmanArman
Ok, I get it to work when I host my scontrol on the salesforce account. The 'create' function must use a relative path to a resource on the server and while I view my scontrol as a file in my browser, the link obviously becomes incorrect.