Weblink on richtextitem

Im currently trying to add an HTML link (sometitle) to an notes richtext. the idea is that I want to have a link on the document that links to a specified file on the net without showing the complete url ( which happens when adding the url using appendtext).

when I set the textstyle setpasthru nothing special happens and I still can see the html code.

How can I change it so that it only shows the title of the link and not the url??

Subject: Hotspot

Hello there,

In addition to this question. I wanted to know how to add a hotspot on a NotesDocument using com. I’ve read somehting about DXL but could not realy find lots of information about how it works and how to change a document using com.