wildbrookmedia
asked on
Need to link to Document: Getting a documents UNID without using code...
We have a wiki at work and I need to link from the wiki to a notes document in a database. I cant modify the notes database to have a view that displays all the documents with their unique ids...
This syntax works to link to a database and open it up:
[DatabaseLinkText|notes:// ServerName /dbName.ns f]
According to Notes help, in theory, this should work but I dont have a good way to get a docs UNID
[DatabaseLinkText|notes:// ServerName /dbName.ns f/View/UNI D?OpenDocu ment]
Is this whole number the UNID?:
http://img253.imageshack.us/img253/4712/unidmd6.jpg
This syntax works to link to a database and open it up:
[DatabaseLinkText|notes://
According to Notes help, in theory, this should work but I dont have a good way to get a docs UNID
[DatabaseLinkText|notes://
Is this whole number the UNID?:
http://img253.imageshack.us/img253/4712/unidmd6.jpg
You can easily get the DOc info by right clicking on the DOc in Notes and choosing copy DOc link, and paste it into a TEXT editor ( Notepad ).
I hope this helps !
I hope this helps !
ASKER
I tried copying the doc info as you suggested in your second post and created the link, using the Note text as the link, both with and without the dashes and colons and it gives me the error:
"The document specified by the link cannot be located within the linked-to database."
mylink:
[Link|notes://Server/myDB. nsf/0/OF00 A98E0ABB93 4524ON6525 70A5002BC6 A3?OpenDoc ument]
info from 'copy as document link' operation:
myDB - Untitled
<NDL>
<REPLICA 882571B5:0071FF96>
<VIEW OF8D1697C1:F1AF9033-ON8825 72FB:00567 98A>
<NOTE OF00A98E0A:BB934524-ON6525 70A5:002BC 6A3>
<HINT>CN=Server/OU=myCO/O= CompanyNam e</HINT>
<REM>myDB</REM>
</NDL>
"The document specified by the link cannot be located within the linked-to database."
mylink:
[Link|notes://Server/myDB.
info from 'copy as document link' operation:
myDB - Untitled
<NDL>
<REPLICA 882571B5:0071FF96>
<VIEW OF8D1697C1:F1AF9033-ON8825
<NOTE OF00A98E0A:BB934524-ON6525
<HINT>CN=Server/OU=myCO/O=
<REM>myDB</REM>
</NDL>
Why do you need the /0/ after mydb.nsf ?
try
notes://Server/myDB.nsf/OF 00A98E0ABB 934524ON65 2570A5002B C6A3?OpenD ocument
try
notes://Server/myDB.nsf/OF
ASKER
Thought that the zero was for the view; zero meaning that it wasn't to look in a particular view, and to just go by the docs UNID...
Removing the zero still doesn't work. (with and without the colons, dashes etc..)
do the dashes need to be represented with the %20 markup?
Removing the zero still doesn't work. (with and without the colons, dashes etc..)
do the dashes need to be represented with the %20 markup?
also your DOc ID is too long, missing a slash and the O and ON can also be removed
notes://Server/myDB.nsf/F0
ASKER
Which slash was i missing?
Still no go, same error. The wiki software we are using is Confluence and you could try the markup, linking to a doc in one of your Notes dbs in their test space here if you like: http://confluence.atlassian.com/display/TEST/Home
Still no go, same error. The wiki software we are using is Confluence and you could try the markup, linking to a doc in one of your Notes dbs in their test space here if you like: http://confluence.atlassian.com/display/TEST/Home
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
B-E-A-UTIFUL! Worked, thanks a lot! So the moral of the story is to omit the 'OF' and 'ON' from the Note part of the link as well as all the colons and dashes.
Pretty much.
Glad this worked !
Glad this worked !
I have an easier way for you. Little undocumented tip.
Open any view or document
Press control-L; Notes takes you to its "web browser address bar"
Press Alt-Down (or press the down arrow to the right of the addreess bar. History opens up.
Press it again. History closes, but....
INSTEAD OF leaving you with a blank address bar, Notes fills in the NOTES:// URL of whatever view or document you are currently in. Just copy and paste, no piecing together at all!
Open any view or document
Press control-L; Notes takes you to its "web browser address bar"
Press Alt-Down (or press the down arrow to the right of the addreess bar. History opens up.
Press it again. History closes, but....
INSTEAD OF leaving you with a blank address bar, Notes fills in the NOTES:// URL of whatever view or document you are currently in. Just copy and paste, no piecing together at all!
ASKER
nice, thanks for the tip!
* notes://servername/databas
* notes://servername/databas
* notes://servername/databas
* notes://servername/databas
notes://pcf-door-03/852567
notes://pcf-door-03/852567
I hope this helps !