Loading

Sort custom Multi-Select Picklists within List Views

Publiceringsdatum: Aug 29, 2024
Beskrivning

Multi-Select Picklist fields aren't available as to be selected as the sort column in List Views, but the functionality has been requested in the IdeaExchange.

Lösning

Workaround
In either Salesforce Classic or Salesforce Lightning, create a Custom Formula Field with return type as "Text" (with the formula below) and use the field to sort the list view:
 

IF(INCLUDES( Multi_Picklist_1__c , "A"), "A", NULL)  & ";" & IF(INCLUDES( Multi_Picklist_1__c , "B"), "B", NULL)  & ";" & IF(INCLUDES( Multi_Picklist_1__c , "C"), "C", NULL)


Note: If there are several picklists, the formula can exceed the compilation and result in an error.

Knowledge-artikelnummer

000382650

 
Laddar
Salesforce Help | Article