SOQL Query (read-only Salesforce data query)
The SOQLQuery request allows users to query data in their Salesforce org using the Salesforce Object Query Language.
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) });