Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Possible to prevent but still set sorting on embedded list?

Bob Loblaw
Mega Guru

Hello - first of all, I am new to ServiceNow, so thanks in advance for your patience.

My question: I have an embedded list on a form and do not want the user to be able to sort the first column of this embedded list using the embedded list header options ("Sort a to z", "Sort z to a"), yet I do want to be able to set the default sort (first column decending). Is this possible?

I know I can use "no_sort=true" in the Attributes section of that first column's dictionary entry to lock it down, and using "sort=asc" in the same place would give me the sorting I am looking for, but I can't use both at the same time.

Might this possible, or is it an "all-or-none" situation?

Thanks so much!

Message was edited by: Trace Hyatt & was reworded for clarity/remove wordiness.

1 ACCEPTED SOLUTION

Bob Loblaw
Mega Guru

Ended up using a before query business rule to sort as desired.

View solution in original post

1 REPLY 1

Bob Loblaw
Mega Guru

Ended up using a before query business rule to sort as desired.