
OpenNTF Code Bin
About This Code
Brief Description:
Add doclinks by UNID with your own serverhint, replicaID, etc...
Contributor:
Davy Vanherbergen
Notes Version:
R5.x, R6.x
Last Modified:
11 Jul 2003
OpenNTF Disclaimer
All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.
Code / Description
Defined In:
-----------
NotesRichTextItem
Syntax:
-------
Call notesRichTextItem.AddLinkByIds( dbReplicaID$, serverHint$, viewUNID$, documentUNID$, comment$ [, HotSpotText$ ])
Parameters:
-----------
serverHint$:
String. ServerName in Canonical or Common format.
viewUNID$:
String. UniversalID of the notesview you want to use for opening the document. Use an empty string ("") to create database link if no documentUNID is specified, or to use the default view for opening docLinks.
documentUNID$:
String. UniversalID of the document you want to link to. Use an empty string ("") to create a view Link or database Link.
comment$:
String. The text that appears when a user presses and holds the mouse pointer over the link.
HotSpotText$:
Optional. String. If supplied, the HotSpotText will appear in the RichTextItem as boxed text which can be clicked on with the mouse to follow the link. In this case, no other token appears in the text.
Usage / Example
Comments
Posted by Jim Bengtson on 10/10/2003 12:07:50 PMRe: Add doclinks by UNID with your own serverhint, replicaID, etc...
Do you know of a way to EXTRACT information from a DBLink? I'd like to paste a DBLink into a RT field, and then programmatically extract the server, database path, and document ID.
Posted by Adam Fakes on 04/26/2004 08:51:09 PMVery cool
this has just made my day !!!
Is there a way to remove the box around the HotSpot?
Posted by Marco Marticorena on 06/17/2004 02:29:36 PMcode
and the code? i can't see it.
Posted by Jose Zaldivar on 10/25/2004 10:26:27 PMRe: Add doclinks by UNID with your own serverhint, replicaID, etc...
Where is the code?
Posted by Klaus Terman on 05/25/2005 08:14:48 AMNice
Wonder why this is undocumented.... not telling what the product is capable of wont help selling it either.