sitecoresitecore8.2

Sitecore - Multilist with Search field


I am on Sitecore v8.2

Using Multilist with Search field, is there a way to filter by multiple templates?

TemplateFilter seems to work with just one Template ID (tried pipe delimited value and that didn't work). I would rather not use Filter=_templatename and Filter=_templateid doesn't work.


Solution

  • That's a bit tricky with Sitecore.

    As you wrote, TemplateFilter only works with 1 value and it doesn't care about pipe separated template ids.

    But you can achieve what you need with Filter parameter. The syntax is:

    Filter=_template:{A87A00B1-E6DB-45AB-8B54-636FEC3B5523}|_template:{DA1684ED-C7A7-4B96-B019-C1E3D5169A6A}