Hi,
I have used the AppendDocLink command and it worked fine, but it creates a Hotspot which is always sourrounded by a box and, unfortunately, there seems to be no way to switch this box programmaticaly off.
This only seems to be possible in the UI interface in the Hotspot propertie box : “Show border around hotspot”
The class NotesRichTextDocLink also doesn’t allow to change this and the Notes Help DB is full of nice blue underlined links without a box around. 
Any help is appreciated.
Joe
Subject: AppendDocLink: How to switch off the box around the hotspot ?
You can use the showborder attribute in DXL to control it. See here for some more information.
Subject: RE: AppendDocLink: How to switch off the box around the hotspot ?
You can’t do it using AppendDocLink.
However, if you create your rich text using MIME instead, you can write HTML that contains URL links using the Notes URL syntax, and these should render the way you want.
Alternately, it might work to have some rich text somewhere – in a profile document for instance – that contains a link formatted the way you want. You can fetch that into memory, change the link to properties of the link, substitute for the text that’s in it, and append it to the rtf you’re adding to.
Or, you could use Midas rich text API from www.geniisoft.com
Subject: RE: AppendDocLink: How to switch off the box around the hotspot ?
Thanks Andre,
Your suggestion works fine !
I meanwhile have created a profil document with a richtext field and a “template” link inside. That worked fine !
Joe Herrmann
Subject: RE: AppendDocLink: How to switch off the box around the hotspot ?
Could you share your code and more details over how to do this?
Thanks!
–JL