Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The SOQLQuery request allows users to query data in their Salesforce org using the Salesforce Object Query Language.

Code Block
languagejs
var request = { 
    "type" : "soqlquery",
    "data" : { "query" : "Select Id from Account Where Name = "Edge Commmunications" }
};
bridge.sendRequest(request, function (responseData) {
    alert('Javascript got its select response: ' + responseData); 
    // response data will be in Salesforce SOQL query response format (see docs)
});