Newer Version Available
selectMacro()
Syntax
Arguments
| Name | Type | Description |
|---|---|---|
| callback | function | JavaScript method that is called when the method is completed |
| macroID | string | ID of the macro that’s selected |
Sample Code–Visualforce
Response
This method is asynchronous, so it returns its response in an
object in a callback method. The response object contains the following
field:
| Name | Type | Description |
|---|---|---|
| cause | string | Explanation of function failure, if applicable |
| success | boolean | true if selecting the macro was successful; false otherwise |