Listed below are the URLs that are used to navigate or do certain actions in Zoho Creator. Please note that all these URLs will work only within the application and not in permalinks and embedding.
S. No | URL | Description |
1 | #Script:page.back | Navigates to the previous URL loaded in the browser's location bar. Provided as an alternate to history.back() in Java script. |
2 | #Script:page.reload or #Script:page.refresh | Reloads the current page(url) |
3 | #Script:page.close or #Script:dialog.close | Closes any dialog that is opened in the page. This will not close the tab or browser window unless it is explicitly opened via a openURL task. |
4 | #Script:dialog.closeAll | Closes all dialogs that are opened in the page. This will not close the tab or browser window unless it is explicitly opened via a openURL task. |
5 | #Script:page.open(url, openIn) | Opens a particular URL/page in ZohoCreator. "openIn" is the option to tell where to open the URL. The values for this will be new/popup. If the option is not provided, the URL will be opened in the same window. Example: #Script:page.open("http://www.zoho.com",new) |
6 | #Script:page.parent.close | Closes the dialogs opened in the parent window as well as the open windows |
7 | #Script:page.parent.back | Loads the parent window to the previous URL |
8 | #Script:page.parent.refresh (or) #Script:page.parent.reload | Reloads/refreshes the parent window |
9 | #Form:<formLinkName> | Loads the current page with any form in the same application. |
10 | #View:<viewLinkName> | Loads the current page with any view in the same application. |
NOTES
- YOU MAY OPEN MULTIPLE TABS AT THE SAME TIME BY PASSING THE PARAMETER "successive=true" . Example: openUrl(link,"new window","successive=true");
- TO OPEN A FORM WITHIN ANOTHER FORM AS A NATIVE LOOK, YOU MAY USED openUrl("#Form:YOURFORM","popup window","height=<height>,width=<width>");
To Learn more about Quary Parameters Navigation visit this Zoho Site HERE
how to open dialog form and then auto close after action &zc_LoadIn=dialog&zc_NextUrl=#Script:page.reload
Also, to have embeded iframes to work outside of creator, use parameter ?zc_ifr_load=true in the url. Sample: openUrl("https://creatorapp.zoho.com/ataraxia/express-pdf/Deals_Data/record-edit/Deals_Data_Report/" + input.ID + "?zc_ifr_load=true","same window");