How do I make a transfer to another page from ActionHandlers?
To do that you need to return the object of the following format from the client action handler function:
return {
router: {
push: url
}
};
where url
is the URL of the page.
Or, you can call one of the following DWKit Global API functions from JavaScript:
DWKitApp.API.redirectToForm("formName")
DWKitApp.API.redirectToFlow("flowName")
DWKitApp.API.redirectToPage("pageName")
DWKitApp.API.redirect("url")