screenPop() for Salesforce Classic
Pops to a target URL, which must be relative.
| Name | Type | Description |
|---|
url | string | A relative URL, which specifies the location of the screen pop. |
force | boolean | Set value to true to force a screen pop, false otherwise. This argument is only available in API version 28.0 and later. |
callback | function | JavaScript method executed when the API method call is completed. |
| Name | Type | Description |
|---|
result | boolean | true if the screen pop was successful, false if the screen pop wasn’t successful. |
error | string | If the API call was successful, this variable is undefined. If the API call failed, this variable returns an error message. |