I am looking for a solution, which replaces all (text) values in a document, in all fields or in a couple of fields.
For example in an email. Somewhere in the subject field and somewhere in the Body is the text ‘Amsterdam’. I would like all the Amsterdams changed to ‘Paris’
for non richtext-fields take a look at “@replacesubstring”. Maybee in your case you can use it in the input translation formula, otherwise create a button and cycle through all fields.
With formated text in Richtext-Fields it might be a little more complicated. For that you should use the NotesRichTextRange class and the FindAndReplace method.