- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2022 04:18 PM
Hi everyone,
When clicking on the table row, the user will be directed to a form,
but this form must be on the same page without having to load it.
Obs.: Before the user was clicking on the record and being directed to another page,
due to this I am using the “sys_id” of the page.
I have to use "$location.search", but its not working:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2022 07:58 PM
@Elton2 Tried and Tested solution.
Please try below code:
Server:
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 05:22 AM
@Elton2 We can open in same tab also as follows
$window.open(url, c.options.target);
Change the above line to
$window.open(url, "_self);
OR
In the instance options you should have a target field there, select _self there.
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 05:22 AM
@Elton2 We can open in same tab also as follows
$window.open(url, c.options.target);
Change the above line to
$window.open(url, "_self);
OR
In the instance options you should have a target field there, select _self there.
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2022 04:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2022 05:23 AM
@Elton2 Welcome😊
ServiceNow Community Rising Star, Class of 2023