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
andyCandyC 

Professional Edition AJAX S-Controls

Is there a way to write custom S-Controls that access the API via the AJAX toolkit - where the customer is Professional Edition ?

I have read about "clientId" capabilities for Partners through the API, and wonder if this is supported through AJAX too ?
DevAngelDevAngel
The clientId is not currently supported in the AJAX toolkit due to security issues.
Mitesh SuraMitesh Sura

DevAngel,

 

Will AJAX toolkit work for PE orgs? Something like below:

 

var callback = {onSuccess: handleSuccess, onFailure: handleFailure};
function handleSuccess(result) {}
function handleFailure(error) {}
sforce.connection.query("Select name from Account", callback);

 I am calling the code from JavaScript button. 

 

regards

ISVforce Partner