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