Solved

Doclink in outlook

Posted on 2002-04-03
7
609 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adjusting times for a meeting room 3 142
Why won't this building block macro run? 6 287
Lotus notes VB code 4 208
sending HTML formatted Lotus Notes email using Java 3 146
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

813 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

10 Experts available now in Live!

Get 1:1 Help Now