17.06.2008 Henning Heinz |
Displaying Notes Doclinks in Views in the Notes Client This is not from me but from Jerry Glover posted on notes.net. Normally there is no easy way to display Notes Doclinks in Client views. Well now there is. I admire people that are able to think around the corner. The following recipe is a solution (or workaround depending on your point of view) to displaying a link icon in a view which, when clicked, opens a document in another database related to the one displayed in the current view. The solution takes advantage of the InViewEdit feature of Notes. Assumptions:- There is a field on the displayed documents containing a UNID for the related document to be displayed. - Actual in-view editing is not required for the view. First, create a column to display an icon for the link. Enter a formula for the column value as follows:
Icon := 41;
This value (41) represents the tan dog-eared page icon which is similar to the standard doclink icon. It's important to use the variable assignment rather than a numeric literal because the Editable Column option will be grayed out and unavailable if a literal is used. Next, bring up column properties and select the checkboxes for "Display values as icons" and "Editable Column"
Dim ws As New NotesUIWorkspace
---------- Hope this helps, -jerry Yes, it does. Thank you very much. |