Programmatic amend Richtext pasted url

Hi I have an issue whereby I need to update some pasted url links in a richtext field.

The server has been replaced with a completely different name etc.

I need to update the url links but they have been pasted into the documents.

Doc link will not work within the rich text objects as they are not strictly document links.

The OLE object wont work because, well they are not ole.

Unfortunately in the LS richtext objects that is about it

Any ideas?

Hi Gary,

Havenot tried something so far.

Need to check if below URL can help in setting the server name.

https://help.hcltechsw.com/dom_designer/11.0.1/basic/H_SERVERHINT_PROPERTY_RTDOCLINK.html

Need to test if new servername can be set.

It says -->

Syntax

To get: server$ = notesRichTextDocLink .ServerHint

To set: notesRichTextDocLink .ServerHint = server$

Regards,

Amit Sharma

Thanks but that is for a document link to a notes doc or DB.

I have already tried that

This is a pasted url

Ok Gary.

Let's hear if someone can give clue on same.

Regards,

Amit Sharma

You have a couple of options. If you have some time and energy and a developer comfortable with doing it, you can export the content to DXL and manipulate the XML and re-import the DXL. Not trivial, but there are plenty of examples on the web of how to access the DXL. That is the free except for effort way. Learning about DXL is not a bad thing if your development staff is up to it, as it gives you plenty of capability.

If you don't have much time or a developer, but you have some budget, my company's Midas LSX will do this easily in a few of lines of LotusScript, and you would wind up with a tool that could do lots of other rich text manipulation you might need. Feel free to look into it at https://geniisoft.com/db/MidasLSX or request a free eval at https://geniisoft.com/db/WebEvalRequest

Either way, rest assured that it is doable.

I dont fancy the DXL for 1000's of documents.

I would like to learn and dont have budget but thanks.