Filter Object and Textual Filter using Evaluator syntax

Greetings,
What would be the correct syntax to use a textual filter with Evaluator in a Filter object? I've tried with:

var filter = DOpus.Create.Filter();
filter.Add('=Match(name,"test","p");');
if (filter.valid())
	DOpus.Output('Valid filter');
else if (filter.lasterror == false)
	DOpus.Output('error:'+filter.lasterror.message);

and although it shows an error, it doesn't tell which one.

Trying to use it with item.MatchFilter directly fails too:

valid is a property, not a method - try if (filter.valid).

Shows the same in both cases:

And what would be the error here? Or Textual Filters with Evaluator are not allowed with a Filter object?

Ok seems to be a glitch.

This is fixed in 13.4.8.

1 Like

Thanks. And now Textual Filters with Evaluator can be used with a Filter object too :raised_hands:.