Navigate Parent URL
Table of Contents
Overview
This JS API task allows you to perform cross-domain navigation, which is the navigation that needs to be done to another domain from within a widget embedded in a page.
Request Details
Syntax
ZOHO.CREATOR.UTIL.navigateParentURL(config);
Syntax Details
The syntax holds:
- <config> (object) - The configuration required for URL navigation. This configuration includes the following parameters.
| Name | Type | Description |
| action | string | Performs an action based on the input value.
|
| url (Optional) | string | You can specify any URL link here. Example:
|
| window | string | Decides where the URL is opened depending on the input value.
|
Possible Errors
Refer to this page for the complete list of error codes and messages.
Sample Input
Copiedvar config = {
action: "close"
};
ZOHO.CREATOR.UTIL.navigateParentURL(config);