How to change the icon of tiddler not having a tag

Hi,

I am trying to have a button to change the icon field of all tiddlers not having a specific tag.
But I do not find out what’s wrong here:

<$button>
<$list filter="[tag!![XXX]]">
   <$action-setfield icon="My Logo>> />
</$list>
Set all logos to BWCIA
</$button>

Thx
Stefan

Change this:

<$list filter="[tag!![XXX]]">
   <$action-setfield icon="My Logo>> />

to this:

<$list filter="[!tag[XXX]]">
   <$action-setfield icon="My Logo">> />

Notes:

  • The exclamation point comes BEFORE the tag filter operator
  • There was a missing close quote after "My Logo"

-e

1 Like

This is not legal, try [!tag[XXX]]