
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2019 12:50 AM
Hi folks
I want to have a Button (UI Action) which scrolls down to the related list.
This isn't working....any ideas :-D?
This button "Scroll down" should scroll down to the related lists
To this related list "Taskana Incident Tasks"
Solved! Go to Solution.
- Labels:
-
User Experience and Design

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2021 09:20 AM
It is possible but only under certain circumstances and without the use (and support) of ServiceNow APIs. First the UI-Action has to be in [global] scope and second you have to uncheck the [isolate_script] flag. Then you can use the following function for the onClick event:
function scrollToEventReg() {
var scrollTo = $j('.section_header_content_no_scroll').height();
window.$j('.section_header_content_no_scroll').animate({ scrollTop: scrollTo }, 200);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2020 03:16 AM
Hi Jerome,
I want to have the same thing on my form right now. Did you manage to get what you required?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2020 03:39 AM
Hello Taqdeer,
Unfortunately we didn't come up with a working solution.
If by any chance we eventually do, I'll let you know.
Best regards,
Jérôme

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2020 03:45 AM
Hello,
Does this work?
g_tabs2List.setActive(3);
Also make sure there is a field on Client Script table in backend, called Isolate Script, make sure it is having value false for your DOM Manipulation to work.
Please Mark as ✅ Correct if this solves your issue and also mark ???? Helpful if it helps resolve your problem.
Thanks,
Saji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2020 03:47 AM
Hi Sajilal,
It works but it will not scroll automatically. We need to scroll down. We need in a such way that if the button is clicked then it should automatically scrolls down to the bottom of the page / to related lists.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2020 03:47 AM
Thanks Jerome