AnsweredAssumed Answered

How to search items by multiple tags

Question asked by bveldkamp on Aug 6, 2020
Latest reply on Aug 6, 2020 by bveldkamp

Hi,

 

I'm trying to search items in Agol that have one or more tags from a list. For instance, when searching for tag1,tag2, I'd like to find all items that have either tag1 or tag2 (or both).

 

Some things I've tried:

  • q=tags:tag1,tag2
  • q=tags:tag1 OR tags:tag2

 

And several permutations of this, but none seem to work. If I search for a single individual tag, it works as expected. The documentation only shows searching for a single tag, but the name of the parameter (tags) suggest multiple tags should be supported.

 

Is this possible at all, or should I do a separate search for each tag?

Outcomes