Loading

Salesforce Error 'DisjunctionsNotSupportedException' on Custom Metadata Type List View

Date de publication: Jul 7, 2025
Description

Whenever users create a List View on a custom metadata type using the filter operator "starts with" or "contains" that includes multiple keywords in the value (comma-separated) along with another filter operator, users can see the below error messages:

An error has occurred in the following section: [Exception, DisjunctionsNotSupportedException].

An error has occurred in the following section: [Exception, DisjunctionsNotSupportedException_desc].

Once the List View is saved, clicking on Manage Records will also result in the same error page and users can no longer access custom metadata records through the Manage Records button. 

Salesforce translates this filter into a query with an OR operator, which is not supported on custom metadata type SOQL queries, as mentioned in Custom Metadata Types Limitations.

Sample Steps to Repro:

1. Open any custom metadata type.
2. Click "Manage CustomMetadataName"  button. 
3. Click on "Create New View"
4. Fill in all required fields like Name, Unique Name and select Fields to display. 
5. While creating New view of custom Metadata, in the section "Specify Filter Criteria" follow the below steps and test.
i. Select Field as "Label", Operator as "Starts with", enter Value as "Rec,Test".
ii. Select Field as "Label", Operator as "equals", enter value as "Rec1". Then follow the article by saving the view.
6. Save the List View and the error page will be presented. 


After following these steps, clicking on Manage Records also results in the same error message. 

 

Résolution

To resolve this error, we need to change the filters of the affected list view, ie, starts with operator should contain one value, but the list view cannot be directly accessed because on clicking "Manage Records" will result in the error page. 

As an alternative, we need to access the list view by navigating to the below URL and replacing the listviewID with the ID of the affected list view. 

/ui/list/FilterEditPage?id=listviewID

The listview ID can be found by querying the ListView object with the appropriate filters. 

Sample query : SELECT CreatedById,CreatedDate,DeveloperName,Id,Name,SobjectType FROM ListView WHERE CreatedDate = LAST_N_DAYS:1 
You can use additional filters to narrow down ‌the List View ID.

Once you access the List View edit page, remove the invalid filters, append the listviewID from the above query to the URL (/ui/list/FilterEditPage?id=listviewID), and save the list view.

 

Numéro d’article de la base de connaissances

000384700

 
Chargement
Salesforce Help | Article