ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Deletes the current contact:
  • WEBDEV - Server code from a Lotus Notes or Outlook address book.
    Attention This function does not delete a Contact from an Outlook Express address book.
Example
WEBDEV - Server codeAjax
// Ouverture d'une session Lotus Notes
IDSession is int
IDSession = EmailStartNotesSession("MotDePasse", "ServeurMars", "mail/julie.nsf", ...
		"C:\Lotus Notes\julie.id")
// Recherche du contact à supprimer
IF ContactSearch(IDSession, "Dupont", mContactLastName, "Axelle", mContactFirstName) = True THEN
	// Suppression du contact
	ContactDelete(IDSession)
	Info("Ce contact a été supprimé")
ELSE
	Info("Aucun contact n'a été trouvé")
END
Syntax
WEBDEV - Server codeAjax

Deleting a contact from a Lotus Notes or Outlook address book Hide the details

<Result> = ContactDelete(<Session identifier>)
<Result>: Boolean
  • True if deleted successfully,
  • False otherwise. 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, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
Related Examples:
WM Managing Contacts Cross-platform examples (WINDEV Mobile): WM Managing Contacts
[ + ] This example presents the management of contacts for Android et iOS.
It is used o:
- list the contacts found on the phone
- call the contacts
- send SMSs to the contacts
- ...
Business / UI classification: Business Logic
Component: wd300com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help