ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Lotus Notes functions / Notes functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the list of items for the current Notes document in Lotus Notes.
Example
// Ouverture d'une session Lotus Notes
IDSession is int
IDSession = EmailStartNotesSession("MotDePasse", "ServeurMars", ...
		"mail\julie.nsf", "C:\Users\Julie\AppData\Local\Lotus\Notes\Data\user.id")
...
// Lecture du premier document 
NotesDocumentFirst(IDSession)
// Récupération des champs Lotus Notes de ce document 
ListeChampLotusNotes is string
UnChampLotusNotes is string
ListeChampLotusNotes = NotesListItem(IDSession)
// Pour chaque champ Lotus Notes
FOR EACH STRING UnChampLotusNotes OF ListeChampLotusNotes SEPARATED BY CR
	// Ajoute le nom du champ Lotus Notes et sa valeur dans un champ Liste
	ListAdd(LISTE_ChampLotusNotes, UnChampLotusNotes + CR + ...
		NotesItem(IDSession, UnChampLotusNotes))
END
Syntax

Returning the name of the items found in the current Notes document Hide the details

<Result> = NotesListItem(<Session identifier>)
<Result>: Character string
Name of the items found in the current Notes document, separated by CR characters (Carriage Return). If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Session ID to be used. This identifier is returned by EmailStartNotesSession or NotesOpenDatabase.

Returning the name and the type of the items found in the current Notes document Hide the details

<Result> = NotesListItem(<Session identifier> , <notesLstType>)
<Result>: Character string
Name and type of the items found in the current Notes document, in the following format:
<Name of Lotus Notes Item 1> + TAB + <Type of Lotus Notes Item 1> + CR +
<Name of Lotus Notes Item 2> + TAB + <Type of Lotus Notes Item 2> + CR +...

Where:
  • <Name of Lotus Notes Item X> corresponds to the name of the Lotus Notes item.
  • <Type of Lotus Notes Item X> corresponds to the type of the Lotus Notes item. This parameter can correspond to:
    • notesTypeDateTime Lotus Notes item of type DateTime
    • notesTypeUnknown Lotus Notes item type not supported
    • notesTypeNumber Lotus Notes item of type Number
    • notesTypeText Lotus Notes item of type Text
    • notesTypeRicheText Lotus Notes item of type Rich Text (containing formatting and any attachments)
If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Session ID to be used. This identifier is returned by EmailStartNotesSession or NotesOpenDatabase.
<notesLstType>: Constant
notesLstType Constant used to return the type of fields in the current Notes document.
Component: wd300mess.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help