created: 20171110174650116 modified: 20210825205308409 revision: 0 title: Mass Updater type: text/vnd.tiddlywiki \define oldfieldvaluemacro() {{!!$(oldfieldname)$}} Filter: <$edit-text tiddler="$:/temp/MassUpdater/Filter" tag="input" default="" size="100"/>
FunctionParametersExecute
Field Value Update Field:<$edit-text tiddler="$:/temp/MassUpdater/FieldName" tag="input" default=""/> Value: <$edit-text tiddler="$:/temp/MassUpdater/FieldValue" tag="input" default=""/> <$button>Apply <$list filter={{$:/temp/MassUpdater/Filter}}> <$action-setfield $field={{$:/temp/MassUpdater/FieldName}} $value={{$:/temp/MassUpdater/FieldValue}} $timestamp="no"/>
Field Delete Field:<$edit-text tiddler="$:/temp/MassUpdater/FieldName" tag="input" default=""/> <$button>Apply <$list filter={{$:/temp/MassUpdater/Filter}}> <$action-deletefield $field={{$:/temp/MassUpdater/FieldName}} $timestamp="no"/>
Field Swap Old Field: <$edit-text tiddler="$:/temp/MassUpdater/FieldName" tag="input" default=""/> New Field: <$edit-text tiddler="$:/temp/MassUpdater/FieldName2" tag="input" default=""/> <$button>Apply <$list filter={{$:/temp/MassUpdater/Filter}}> <$set name="oldfieldname" value={{$:/temp/MassUpdater/FieldName}} > <$wikify name="oldfieldvalue" text=<> > <$action-setfield $field={{$:/temp/MassUpdater/FieldName2}} $value=<> $timestamp="no" />
Tag Add Tag Name: <$edit-text tiddler="$:/temp/MassUpdater/TagName" tag="input" default="" /> <$button>Apply <$list filter={{$:/temp/MassUpdater/Filter}}> <$fieldmangler> <$action-sendmessage $message="tm-add-tag" $param={{$:/temp/MassUpdater/TagName}} />
Tag Remove Tag Name: <$edit-text tiddler="$:/temp/MassUpdater/TagName" tag="input" default="" /> <$button>Apply <$list filter={{$:/temp/MassUpdater/Filter}}> <$fieldmangler> <$action-sendmessage $message="tm-remove-tag" $param={{$:/temp/MassUpdater/TagName}} />
Tag Swap Old Tag Name: <$edit-text tiddler="$:/temp/MassUpdater/TagName" tag="input" default="" /> New Tag Name: <$edit-text tiddler="$:/temp/MassUpdater/TagName2" tag="input" default="" /> <$button>Apply <$list filter={{$:/temp/MassUpdater/Filter}}> <$fieldmangler> <$action-sendmessage $message="tm-add-tag" $param={{$:/temp/MassUpdater/TagName2}} /> <$action-sendmessage $message="tm-remove-tag" $param={{$:/temp/MassUpdater/TagName}} />
Tiddler Delete <$button>Apply <$list filter={{$:/temp/MassUpdater/Filter}}> <$action-deletetiddler $tiddler=<>/>
<$list filter={{$:/temp/MassUpdater/Filter}}>
Title{{$:/temp/MassUpdater/FieldName}}{{$:/temp/MassUpdater/FieldName2}}tagsDelete
<$link>{{!!title}} <$edit-text field={{$:/temp/MassUpdater/FieldName}} tag="input"/> <$edit-text field={{$:/temp/MassUpdater/FieldName2}} tag="input" /> <$edit-text field="tags" tag="input" /> <$button>Delete<$action-deletetiddler $tiddler={{!!title}}/>