Skip to main content



No record found.

Microsoft Dynamics AX forum

Does the FilterExpression functionality in ListPages only work with enums?

Posted on by 10

I have created a filter field (type string) in the SalesQuotationListPage form, linked to a method in the SysQueryRangeUtil class.
The filter field receives a PurchRFQId value, and then returns a string, containing the QuotationId's that are linked to the PurchRFQId.


This is straight from the textbooks, but when ever I enter a value in the field, it either crashes or returns this error:


I have tested the method on SysQueryRangeUtil, and when I enter a PurchRFQId value, it finds the correct QuotationId, and returns this.

Any ideas if the FilterExpression only works when receiving an enums? This seems to be the case, all the places I have found, where it is used.

  • Allan Lillebæk Profile Picture
    Allan Lillebæk 10 on at
    RE: Does the FilterExpression functionality in ListPages only work with enums?

    Found the solution myself... which was to put single quotation marks around the %1 in the FilterExpression on the filter field.


Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans