Loading

Sort custom Multi-Select Picklists within List Views

Fecha de publicación: Aug 29, 2024
Descripción

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.

Solución

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.

Número del artículo de conocimiento

000382650

 
Cargando
Salesforce Help | Article