?
Solved

Doclink in outlook

Posted on 2002-04-03
7
Medium Priority
?
620 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 280 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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