Navigate To Route
This handler will navigate the browser's main window to a prespecified URL. Target URLs are built using data passed in the message. Session ID is provided by the handler if needed.
Available targets can found in Suite codebase it is possible to use on EMSAdmin pages as well.
If your application using the integrationJs for navigation please migrate to this solution.
Usage
Name | Description |
---|---|
window.e.utils.v2.navigation.navigateToRoute({ namespace, action, params }) |
Navigate the top window to the target. |
Parameters
Name | Description | Type | Required | Default value |
---|---|---|---|---|
namespace |
Name of the group. | yes | ||
action |
Name of the target, can be empty. | yes | ||
params |
Parameters what the actual target needs. | no |
Examples
window.e.utils.v2.navigation.navigateToRoute({ namespace: 'email_campaigns', action: 'edit', params: { campaign_id: '1' } });
window.e.utils.v2.navigation.navigateToRoute({ namespace: 'homepage', action: ''});