The Contacts external object enables you to programmatically manage the contacts of the device.
It does not have any.
It is used to add a contact. Returns True if the operation was successful or the contact is already added. Returns False if any failure occurs and/or the user cancels the execution. If the returned value is not used the event execution cancels.
See HowTo: Use AddContact method from Contacts external object.
It is used to remove a contact. Returns True if the contact was removed successfully. Returns False if any failure such as the following occurs: the contact to be removed is not present in the catalog and/or the user cancels the execution. If the returned value is not used the event execution cancels.
See HowTo: Use RemoveContact method from Contacts external object
It is used to view the contact information stored in the device.
See HowTo: Use ViewContact method from Contacts external object.
Retrieves all the contacts information from the device with their information.
Return value |
Collection( ContactInfo ) |
Parameters |
None
|
It does not have any.
Structured Data Types
Encapsulates single contact information stored in the device.
Event 'AddToContacts'
&IsOK = Contacts.AddContact(PersonName,PersonLastName,PersonEmail,PersonPhone,CompanyName,PersonPhoto,PersonMessage)
Endevent
Event 'RemoveContact'
&IsOK = Contacts.RemoveContact(PersonName,PersonLastName,PersonEmail,PersonPhone,PersonMessage)
Endevent
Event 'ViewContact'
Contacts.ViewContact(PersonName,PersonLastName,PersonEmail,PersonPhone)
Endevent
Event 'ViewContactsList'
&AddressBookContacts = Contacts.GetAllContacts()
Endevent