- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 11:27 AM
is there a way to redirect if the cancel button is selected to you last visited page or page you were just on? I have a confirm button when selecting a module to submit a new ticket request but if you chose to back out i want the user to go back to the last page they were on.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 09:24 AM
heres what i found worked using this code below
top.window.history.back();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 11:59 AM
Hi @ServNowDev ,
Can you try referring to the history table to navigate to the last page user was on [sys_ui_navigator_history].
Keep in mind that history does not stores all types of pages for example Homepages and UI Pages are not stored in history
Please mark correct/helpful if my response helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 09:24 AM
heres what i found worked using this code below
top.window.history.back();