Lotus Domino is an IBM server product that provides enterprise-grade e-mail, collaboration capabilities, and a custom application platform. Domino began life as Lotus Notes Server, the server component of Lotus Development Corporation's client-server messaging technology. It can be used as an application server for Lotus Notes applications and/or as a web server. It also has a built-in database system in the format of NSF. It's directory services can be used for authentication purposes as well

Wednesday, September 26, 2012

Pop up message to users

Pop up message to user while trying to open server copy

Steps

 Open mail template in lotus designer and  follow the below steps..
Folder>>>($Inbox)>>>Postopen>>'Adding prompt..
Then script

' Last update : 24 September 2012
 ' Warning only to mbx owner
 Dim mysession As New notessession
 Dim myDb As NotesDatabase
 Dim MyMsg As String
 Dim mycalprof As NotesDocument
 Dim XUser As NotesName
 Dim XOwner As NotesName
 Set mydb = mysession.CurrentDatabase 
 ' Check only if user is owner
 '*****************************
 Set mycalprof = mydb.GetProfileDocument("calendarprofile")
 If  mycalprof Is Nothing Then

 End If
 If Not myCalProf.HasItem("Owner") Then
 End If
 Set XUser = New NotesName(mySession.UserName)
 Set XOwner = New NotesName(myCalProf.Owner(0))
 If Lcase(XUser.Abbreviated) = Lcase(XOwner.Abbreviated) Then
  If (mydb.Server<>"") Then
   MyMsg="You are opening your mailbox on the server. " & Chr$(13) & _
   "Please use the local replica of your mailbox for better performance. "
   Messagebox MyMsg,MB_ICONEXCLAMATION, "Warning"
  End If
 End If