- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 02:41 AM
I set a back button in table form by creating in new ui action,, it reflected in my service portal . when i click the back
button it will move to previous page highlighted page in below image. so help me how to write the script for from form navigate service portal?
.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 04:04 AM - edited 07-10-2023 04:06 AM
Hi Jayu,
Open the Required page manually, Copy the above url and paste it in the brackets,
Also, check if the UI action, make sure client check box is unchecked
action.setRedirectURL('URL');
Plz Mark my Solution as Accept and thumbs up, If you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 03:38 AM
Hello Jayu,
In The Ui Action script, you need to write :-
action.setRedirectURL("sp?id='id_of_new_page'")
Plz Mark my Solution as Accept and thumbs up, If you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 04:01 AM
hi samaksh,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 04:04 AM - edited 07-10-2023 04:06 AM
Hi Jayu,
Open the Required page manually, Copy the above url and paste it in the brackets,
Also, check if the UI action, make sure client check box is unchecked
action.setRedirectURL('URL');
Plz Mark my Solution as Accept and thumbs up, If you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 04:22 AM
I got same error again, here i have given my script lines, is it right or not, kindly plz correct me.
function goBack() {
action.setRedirectURL("sp?id='sys'");
action.setReturnURL('https://dev137513.service-now.com/sp?id=sys');
action.Back();
}
goBack();