How to update a field value?

I am writing the actual options I could identify:

  1. Use Tiddlywiki Web UI with your mouse and keyboard
    Filters can be added at the end of URL to arrange homepage set
#:[field[value]] ot !myfield[somevalue]]

there is a talk on filtering there: How to filter and delete multiple tiddlers? - #2 by twMat

  1. Use Tiddlywiki through node.js

From this perspective.

Actual actions are to

    1. export tiddlers containing that [field[value]] from TW
    1. explore and update json value using ‘jq’
    1. delete old tiddlers from TW
    1. import new ones into TW

May be you know other easier means to do it?
I’d like to create some kind of “SQL like” command wrapper…

1 Like

OK, I dunno about command wrappers but in TW the basic way to set a field value is by means of the ActionSetFieldWidget.

I am not sure what is your question, but if you mean you want to change the field value in billion tiddlers :wink: the Kookma Tiddler Commander is the way you can go in browser, no matter you use TW on Node.JS or as a single html.

Tiddler Commander works on bulk of tiddlers for many batch operations.

Hi @papiche,

I’m not using any of these tools myself, but I think one might update a field value:

  • using a specially crafted bookmarklet. @TW_Tones might be of great help here, he often writes on bookmarklets here on talk.tiddlywiki.org
  • on node.js using node-red, which looks like an automation tool featuring treatments on files triggered by events. This tool has also been quoted here on talk.tiddlywiki.org, a search should give you some more information.

Hope this helps,

Fred

1 Like

Thanks for all this good information.

TW & node-red association looks like a great idea !!
This would make an elegant “event driven API layer”.

maybe @poc2go or others experimented that already.