Smart Group which finds all normal Groups

I want to create a Smart Group/Search which returns all normal groups in a database. I do

Screen Shot 2021-03-05 at 2.56.34 pm

Is there a direct way to search for it ? Tags seem to be Groups as well.

Thanks!

No, what you’re doing is the most direct way.

For me “normal groups” means:

  • groups I created via Data > New > Group

and

  • no tags

but also

  • no tags group
  • no annotations group
  • no incoming group

Although they are obviously technically groups I don’t want them when I’m looking for “normal groups.” Unfortunately there’s no direct way to exclude them.

However by using a marker (e.g. a unique string added to the comments) it’s possible to exclude them in a Smart Group or Rule.

E.g. kind:group kind:!tag comment!=EXCLUDE BUILT IN GROUPS

Hey @pete31, thanks for chiming in! :slight_smile:

I assume this is a tag containing tags? (Like in the tag hierarchy

article --> german
        --> english

blog-post --> german
          --> english

article and blog-post are “tag groups”?

What the heck is an “annotations group” and what is an “incoming group”?

Very smart idea! Do you use a special script when you create a normal group, so that it contains the marker comment?

These are “built-in” groups that sit in a database’s root:

  • tags group: the “Tags” group that holds all tags
  • annotations group: the “Annotations” group that holds all annotations
  • incoming group: the “Inbox” of a database

The terms are used in DEVONthink’s AppleScript dictionary, I use them as I‘m not aware of other terms for these groups.

It’s the other way round: I add a comment to the „built-in“ groups to filter them out. :slight_smile:

Interesting! Thanks.

Of course! If the groups you want to filter out are only a fixed number of builtin groups, that’s the way to go.

1 Like