Hi,
I want to modify partial text present in the Body field on Calendar Entry form.
FieldSetText API clears all the previous text present and FieldAppendText appends the text at the end of the existing text.
But what to use if I want to replace some text with another text?
Is there any way to achieve this in lss?
Subject: Have a look at NotesRichText item
It’s fully documented in Developer help, along with methods like appendtext, begininsert, endinsert, appendparargaphstyle, etc.
Subject: Re: How to modify partial text in Body field?
I’ve done something like this with Zephyr, a freeware application that I’ve written.
http://www.dominoguru.com/pages/zephyr_v0.1.html
Feel free to download it and take a look. It might be overkill, but from the code you should be able to get an idea of how I am able to replace rich text content on a target NotesDocument without losing the original source.
HTH,
-Chris
This site is designed to be the go-to resource for the enterprise application developer. Here we cover industry news, reviews, features, and more on the topics that you'll need to survive your next development project.