ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Lotus Notes functions / Notes functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Establishes a connection to a Domino server. This session can be closed by CloseSession or EmailCloseSession.
Remarks:
  • To access the emails, contacts, groups of contacts, tasks and/or appointments managed by Lotus Notes, you must specify the Lotus Notes database to use (second syntax of EmailStartNotesSession).
  • To access the documents managed by Lotus Notes, you must specify the Lotus Notes database to use (NotesOpenDatabase).
Example
// Open the connection
SessionID is int
SessionID = NotesOpenConnection("Password", "MarsServer", ...
"C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")
// Specify the Lotus Notes database to use
IF NotesOpenDatabase(SessionID, "email/julia.nsf") <> 0 THEN
Info("Session started and database specified")
ELSE
Error(ErrorInfo())
END
Syntax
<Result> = NotesOpenConnection(<Password> , <Domino server> [, <Certificate path>])
<Result>: Integer
  • Session identifier.
  • 0 if an error occurs (or False). To get more details on the error, use ErrorInfo with the errMessage constant.
<Password>: Character string
User password. This password is given by the service provider or by the network administrator.
<Domino server>: Character string
  • Name of Domino server,
  • Empty string ("") if the database is a local database.
<Certificate path>: Optional character string
Path of the certificate used to identify the user (ID file). This file is given by the administrator of the Domino server. This file is required to establish the connection to the server.
If this parameter is not specified, the path of the certificate will be read in the configuration file of the Lotus Notes client ("Notes.INI" file). The certificate used will correspond to the last certificate of the user of the Lotus Notes client for the current computer.
Remarks
The access to Lotus Notes is available for Lotus Notes version 6.5 or later.
Component: wd290com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help