Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

List View - Group By Automatically

Rhane
Kilo Explorer

When clicking into a module that is a 'List of Records', is there a way to have the list automatically appear in a 'Group by'? Rather than the user having to go in and right click the field and click 'Group by'.

Example:
Click 'View All' in Incident, a list of all the records generate. When the list generates, it is already using the 'Group by' feature for what Incident State.

Thanks in advance.

4 REPLIES 4

DubeyN
Mega Expert

Modify the module "View All" and Add "GROUPBYincident_state" to argument.


Rhane
Kilo Explorer

Easier than I was thinking.

Thanks for the quick answer.


chazz1
Mega Contributor

This does not appear to be true for Berlin release.

I have added "GROUPBYtype" to the SDLC scrum task view agruments and it does not group the list at all. did the format or argument change?


EDIT:

i had to change the Link Type to "URL from arguments" from "list of records". this, of course, got rid of the filter so i needed more in the arguments section.

rm_scrum_task_list.do?sysparm_query=active=true^EQ^GROUPBYtype&sysparm_view=Scrum

simply adding "GROUPBYtype" in the arguments field does not work.


CapaJ
ServiceNow Employee

Looks like if your List of Records has a filter on it, then you need to put a "^" symbol before the "GROUPBYtype". So it'd look like:



^GROUPBYtype


That will let you continue to use the filter vs. having to type out the entire URL.