Loading

Salesforce Error 'DisjunctionsNotSupportedException' on Custom Metadata Type List View (Comma-Separated Filter Values Not Supported)

Fecha de publicación: Jun 8, 2026
Descripción

Error Message

When creating or saving a List View on a Custom Metadata Type, the following error appears:
"An error has occurred in the following section: [Exception, DisjunctionsNotSupportedException]." "An error has occurred in the following section: [Exception, DisjunctionsNotSupportedException_desc]."
After saving the List View with these filters, clicking Manage Records also results in the same error page, preventing access to Custom Metadata records through the Manage Records button.

Cause

This error occurs when a List View filter uses the "starts with" or "contains" operator with multiple comma-separated values in the Value field — for example, entering "Rec,Test" as the value for a "Label starts with" filter. Salesforce internally translates comma-separated values into a SOQL query using an OR operator. However, Custom Metadata Type SOQL queries do not support the OR operator (disjunctions), which causes the DisjunctionsNotSupportedException error.
For more information, see: Custom Metadata Types Limitations — Salesforce Help.

Solución

Resolution Steps

To resolve the DisjunctionsNotSupportedException error, update the filters of the affected List View so that the "starts with" or "contains" operator contains only a single value (not comma-separated values).
Because clicking Manage Records on the affected Custom Metadata Type displays the error page directly, you cannot access the List View edit screen through the standard UI path. Instead, access the List View edit page directly using the following URL format:
/ui/list/FilterEditPage?id=[listviewID]
Replace [listviewID] with the actual ID of the affected List View.

How to Find the List View ID

To find the List View ID, query the ListView object using SOQL in Developer Console or Workbench. Use the following query as a starting point:
SELECT CreatedById, CreatedDate, DeveloperName, Id, Name, SobjectType FROM ListView WHERE CreatedDate = LAST_N_DAYS:1
Add additional filters such as SobjectType or Name to narrow down the correct List View record. Once you have the List View ID, append it to the URL path above and navigate to the edit page. On the edit page, remove the filter that uses comma-separated values with the "starts with" or "contains" operator and replace it with a single-value filter. Save the List View.

Número del artículo de conocimiento

000384700

 
Cargando
Salesforce Help | Article