Open contact form
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Open contact form
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Opens the native form to add a new contact.
Any fields that are defined in the New contact object are prefilled in the form.
Once the contact has been added, the first output is triggered.
If the user cancels the form, the second output is triggered.
If there is an error, the third output is triggered.
If the user hasn't given permission to access contacts, they will be requested automatically.
Input arguments
Label | Key | Type | Required? | Default | Description |
---|---|---|---|---|---|
New contact | contact |
Object | Yes | – | New contact to prefill the contact form with. |
Output arguments
Number of outputs: 3
Label | Key | Type | Description |
---|---|---|---|
New contact | contact
|
Object | New contact to add to the contacts list. |
|
contact.recordID
|
String | System ID for the contact record |
|
contact.company
|
String | |
|
contact.emailAddresses
|
Array | |
|
contact.familyName
|
String | |
|
contact.givenName
|
String | |
|
contact.middleName
|
String | |
|
contact.jobTitle
|
String | |
|
contact.note
|
String | Android-only. Text note attached to the contact. |
|
contact.urlAddresses
|
Array | |
|
contact.phoneNumbers
|
Array | |
|
contact.hasThumbnail
|
Boolean | |
|
contact.thumbnailPath
|
String | |
|
contact.postalAddresses
|
Array | |
|
contact.birthday
|
Object |
Events
No events.
Errors
Label | Code | Description |
---|---|---|
Unknown error | unknown |
Thrown if an unknown error occurred while getting the contacts. |
Was this article helpful?