Solved

Lotus Notes. How to create doclink to another doc with a stored text UNID

Posted on 2008-10-16
5
1,698 Views
Last Modified: 2013-12-18
In Lotus Notes, how can I create a doclink to another doc with a stored UNID?

$Ref ( a parent's UNID) in an RTF field is a doclink.
A doc's own UNID in an RTF field is a doc link.

How can I use a doc's UNID ( written by that doc whether as text or not) to display a doclink to that doc.

There is no hierarchial relationship between the docs.
0
Comment
Question by:Jooger
  • 2
  • 2
5 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 22736458
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 22736465
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22738578
I'm not quite sure I undestand what you want to achieve. Is there a UNID in some text that you want to convert into a doclink? Or do you already have the UNID in a field on the document?

Is the document to be linked in the same database? If not, do you know which database? Do you have sufficient rights to access that database? If all is well, you can create your doclink:
open the destination database, fetch the document by UNID, and create your doclink

It might be possible to create a different type of doclink, i.e. the web type: create text like notes://server/filename/0/UNID and Notes will convert it into a URL-like link in rich text.


0
 

Author Comment

by:Jooger
ID: 22758143
I want to avoid using LS if possible.

If I have the UNID of another doc ( same db, I have manager access, can edit all docs) in a hidden field in nthe current doc, can I display that as a doclink to the other doc?

Or do I need to use LS and use the UNID as the key in a view of all docs, find the doc then add to a RTF as a docLink?

Isn't $Ref a field in every response doc? And that will display as a doclink. Can I use the same mechanism to link to any doc if I have the UNID without using LS?

Hope this is clear.

ps sorry for recent delays replying. Email problems should now be resolved.
0
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
ID: 22758216
Doclinks can only appear in rich text, and the document with the rich text field should be saved and closed before the doclink can be seen on the screen. As an alternative, you could add a button (or other on-screen action) that uses the field with the UNID to open that document, in formula language. Would that help?

Tricks like playing with $Ref etc. I wouldn't even try.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question