Hi!
I was wondering if it’s possible to add a “Select All” option to User Filters in a Record Type. I tried but couldn’t find a way. The business needs to be able to select all options and then deselect a few, rather than having to select each one individually, which is time-consuming when there are many options. I know it’s possible to do this in a custom interface, but I’m curious if it can be done from the record side.
Thanks!
Discussion posts and replies are publicly visible
Hi Abdul Rahim ,
Appian’s native User Filters on Record Types do not currently support a “Select All” option out-of-the-box.
There’s no built-in checkbox or UI for “Select All” in user filters configured directly in the Record Type.
Workarounds:1. Custom Interface + Query Record TypeIf you need “Select All” with the ability to deselect a few:
Build a custom interface using:
a!multiDropdownField() with a "Select All" checkbox.
This gives full control over filtering logic.
Thank you for the info! Harshmodi
Here is the code with select all value in multiple dropdown :
a!localVariables( local!selectAll: if( rule!CASCO_utils_checkIsNull(ri!choicesLabels), {}, { "Select All" } ), local!seletcAllVAlue: { rule!CCA_confg_getBasicValues(key: "selectAllValue") }, local!choicesLabels: append(local!selectAll, ri!choicesLabels), local!choicesValues: append(local!seletcAllVAlue, ri!choicesValues), local!saved, { a!multipleDropdownField( placeholder: a!defaultValue(ri!placeHolder, "Select values"), choiceLabels: reject( rule!CASCO_utils_checkIsNull(_), local!choicesLabels ), choiceValues: reject( rule!CASCO_utils_checkIsNull(_), local!choicesValues ), label: a!defaultValue( value: ri!FieldLabel, default: "Multiple Dropdown" ), labelPosition: "ABOVE", value: ri!savedValue, saveInto: { local!saved, if( /*"Does our local contains select all value"*/ contains( touniformstring(local!saved), local!seletcAllVAlue ), /*yes*/ { if( contains( touniformstring(ri!savedValue), local!seletcAllVAlue ), { if( and( length(local!saved) = 1, local!saved = local!seletcAllVAlue ), { a!save(ri!savedValue, null) }, ri!savedValue ) }, a!save( ri!savedValue, union( split(tostring(local!choicesValues), "; "), split(tostring(local!choicesValues), "; ") ) ) ) }, /*no*/ { if( contains( touniformstring(ri!savedValue), local!seletcAllVAlue ), a!save(ri!savedValue, null), ri!savedValue ) } ), ri!saveList }, searchDisplay: "AUTO", required: or(ri!required), validations: { ri!validation } ) } )