Solved

Doclink in outlook

Posted on 2002-04-03
7
608 Views
Last Modified: 2013-12-18
Hello

 In my project i would like to send the email to the user and outlook is being used for email. in that email i would like to send doclink in lotus notes database. is it possible to do that? Please help me out

Thanks,
 shri
0
Comment
Question by:shrihalbe
7 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6915523
Send the link as .ndl file

NDL FILE LOOKS LIKE THIS,

<NDL>
<REPLICA 85256B8E:0077654B>
<VIEW OF47F4F3DC:7D016172-ON85256B8E:0079840C>
<NOTE OF144FE911:D5D788E1-ON85256B8F:00729935>
<HINT>SERVER NAME</HINT>
</NDL>

So format each line and construct a file with appropriate tags and name it with extension .ndl.

Instruct the user to launch the file and which in turn would launch the document.

~Hemanth
0
 

Author Comment

by:shrihalbe
ID: 6915699
Hello Hemanth,
  thanks for the your reply. but can you just give me information about NDL files. how can i create it.

Thanks,
shri
0
 

Author Comment

by:shrihalbe
ID: 6915752
Hello Hemanth,
 how can i create the NDL FIles Programatically.

THanks,
shri
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 9

Expert Comment

by:Arunkumar
ID: 6915882
The NDL files can easily be created manually by

edit --> copy as link --> doclink, dblink or view link

And then pasting the clipboard content on a notepad and saving the file with an ndl extension.

Well, creating one programmatically needs some scripting for sure.

:-)
0
 

Author Comment

by:shrihalbe
ID: 6916082
Hello Arunkumar,
 i want to create the NDL File Programatically.

THanks,
shri
0
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 70 total points
ID: 6916098
When you create any links in notes and goto notepad and paste it , the information that notes used is displayed.

Here is the example,

Sub Click(Source As Button)
     Dim s As New NotesSession
     Dim db As NotesDatabase
     Dim view As NotesView
     Dim doc As NotesDocument
     Set db = s.CurrentDatabase
     Set view = db.GetView( "All" )
     Key = "Frame2"
     Set doc = view.GetDocumentByKey( Key )
     If Not doc Is Nothing Then
          replicaID = Left(db.ReplicaID, 8) & ":" & Right(db.ReplicaID, 8)
          vUNID = "OF" & Mid(view.UniversalID, 1, 8 ) & ":" & Mid(view.UniversalID, 9, 8 ) & "-ON" & Mid(view.UniversalID, 17, 8 )  & ":" & Mid(view.UniversalID, 25, 8 )
          dUNID = "OF" & Mid(doc.UniversalID, 1, 8 ) & ":" & Mid(doc.UniversalID, 9, 8 ) & "-ON" & Mid(doc.UniversalID, 17, 8 )  & ":" & Mid(doc.UniversalID, 25, 8 )
          fnum% = Freefile
          Open "C:\" & doc.Universalid & ".ndl" For Output As #fnum%
          Print #fnum%, db.Title
          Print #fnum%, "<NDL>"
          Print #fnum%, "<REPLICA " & replicaID & ">"
          Print #fnum%, "<VIEW " & vUNID & ">"
          Print #fnum%, "<NOTE " & dUNID & ">"
          Print #fnum%, "<HINT>" & db.Server & "</HINT>"
          Print #fnum%, "</NDL>"
          Close #fnum%
     End If
End Sub

0
 
LVL 5

Expert Comment

by:Netminder
ID: 6979274
Force-accepted by
Netminder
CS Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

930 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now