PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Deletes the current contact:
  • WEBDEV - Server code from the address book of a Lotus Notes or Outlook messaging.
    Caution: This function cannot be used to delete a contact from the address book of an Outlook Express messaging.
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 the Lotus Notes or Outlook messaging Hide the details

<Result> = ContactDelete(<Session identifier>)
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. To get the details of the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Identifier of session to use. This identifier is returned by EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
Remarks
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: wd270com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment