You are here:  » Drop record


Drop record

Submitted by wesse249 on Sun, 2016-02-07 20:58 in

Hello David,

When i drop a record (for example category) is it possible to add multiple categories in one filter? For example:

Category1|Category2|Category3

Or do i need to setup for every category an unique filter?

Thank you.

Submitted by support on Mon, 2016-02-08 10:02

Hello Jan,

You can use Drop Record RegExp which can match multiple values using a regular expression - almost exactly as per your example but must be bracketed, e.g.

(Category 1|Category 2|Category 3)

Make sure that there is no superfluous white space at all as all characters in the expression are significant...

Cheers,
David.
--
PriceTapestry.com

Submitted by wesse249 on Mon, 2016-02-08 21:05

Hello David,

this isn't working, maybe through al customisations?

Thanks Jan Roel

Submitted by support on Tue, 2016-02-09 08:24

Hello Jan,

The entire expression will need to be less than 255 characters so if that's the case, you can always add multiple instances with just a few items each e.g.

(Category 1|Category 2|Category 3)

and a second Drop Record RegExp using:

(Category 4|Category 5|Category 6)

If still no joy, could you post an example of an actual configuration value that you are using as it is possible that the category names contain control characters that must be escaped within a regular expression - I'll check that for you...

Cheers,
David.
--
PriceTapestry.com