The CreatorCon Call for Content is officially open! Get started here.

How to show more rows at a time in Related Lists

Sattyaki1
Tera Expert

In List view we have an option to show more rows per page like the below screenshot:

find_real_file.png

 

But in Related Lists we don't have such option. Please see to the below screenshot:

find_real_file.png

 

Our users want to be able to see more rows at a time in related lists like normal Lists. Please let me know if there is any way to do that.

Thanks,

Sattyaki

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

Hi,

 

Related lists show records in tables that have relationships to the current record So, not sure why would there be a need to use Show for Related lists as Related lists will show all records related to current form by default.

In case, if need then the only option is to open the query in Open new window & then use the Show that appears for List Layout.

find_real_file.png

View solution in original post

3 REPLIES 3

Jaspal Singh
Mega Patron
Mega Patron

Hi,

 

Related lists show records in tables that have relationships to the current record So, not sure why would there be a need to use Show for Related lists as Related lists will show all records related to current form by default.

In case, if need then the only option is to open the query in Open new window & then use the Show that appears for List Layout.

find_real_file.png

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sattyaki,

Related lists use "rowcount" User Preference for the logged in user. So consider if they see 20 records in a normal list then they will see 20 in a related list. If their preference is set to 100, they'll get 100 in both places.

As said by Jaspal the related list would show all records which are related to current record.

There is a chance that while defining the relationship developer has added some restriction on number of records to be shown which are matching.

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

Can we do pagination in the related list (relationship code). Lets say I got result of 100 records but I wanted to show 10 per page with 10 pages. Can we do this through coding. This code should apply to only related list not to main list.

Thanks,