Triggers: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 584: | Line 584: | ||
When an Entry object's field() method is called, if the Memento field type is Contact, a JSContact object is returned. | When an Entry object's field() method is called, if the Memento field type is Contact, a JSContact object is returned. | ||
If the Contact field contains multiple contacts, use hasNext | If the Contact field contains multiple contacts, use ''hasNext'' and ''next'' to retrieve them. | ||
==== JSContact Methods ==== | ==== JSContact Methods ==== | ||
:; show(): Opens the Contacts app for this contact | :; show(): Opens the Contacts app for this contact | ||
Line 607: | Line 603: | ||
:; email: The primary email address of this contact | :; email: The primary email address of this contact | ||
:;hasNext: Returns TRUE if there is a next JSContact object, otherwise FALSE | |||
:;next: Returns the next JSContact object, if there is one — only valid after calling hasNext() and receiving a TRUE result | |||
=== Object ''JSGeolocation'' === | === Object ''JSGeolocation'' === |