new describe(sObject, id, callback, state) → {State}
Retrieves a Salesforce sObject(s).
Parameters:
Name | Type | Description |
---|---|---|
sObject |
String | The sObject to retrieve |
id |
String | The id of the record |
callback |
function | A callback to execute once the record is retrieved |
state |
State | Runtime state |
- Source:
Returns:
- Type
- State
Example
retrieve('ContentVersion', '0684K0000020Au7QAE/VersionData');