Precursor

The app must have a login.

The chat feature allows users to have one on one or group conversations directly in the app. 

Features

A chat feature offers the following features:

  1. Direct messaging
  2. Group chats 

Get Started

Note: Chat requires you to provide a list of the users with access to chat.

To add a chat feature you’ll need to:

  1. Create a chat screen
  2. Configure the contact list 
  3. Configure the security
  4. Test the chat feature

Step 1 – Create a chat screen

  1. Click on the blue “Add screens” button.
  2. In the heading choose the “MESSAGING/NOTIFICATIONS” option.
  3. Select the “Chat-messaging” screen.
  4. Click on the blue “Add 1 new screen” button.
  5. Enter a screen name for the screen.
  6. Click “Add screen”.

Step 2 – Configure the contact list

  1. Click on the chat screen to open the settings.
  2. Under Select a data source of the contacts list select “Create a new data source” from the dropdown options or use an existing data source if the app already has a contact directory.
  3. Name the data source (if new) and click OK.
  4. Click the blue “Edit data source” text.
  5. The required fields in the data source spreadsheet are:
    1. Name (you need this so the user shows up in the contact list)
    2. Email (this is how the app knows who the user is and can show the user’s messages)
  6. Click the blue “Save changes” button.
  7. Under Select the user’s email address field, select the “Email”l field you created.
  8. Under Select the user’s full name field, select the “Name” field you created.
  9. (Optional) If you wish to add a “job title field” and/or an “image” field to your chat, go back and click on the blue “Edit data source” text and add those as two additional columns in the spreadsheet. Then select each one under the appropriate dropdown.
  10. If you have a large list of contacts, we recommend selecting the Number of contacts to show in the contacts list. We recommend loading no more than 25 contacts at any one time to make sure the contact list loads at a good speed. Users should use the search function to find a specific user to message.

Step 3 – Configure the security

  1. Go to the “Security settings” tab.
  2. Under Select a screen choose the “Login” screen. If you don’t have a login on the app yet, learn how to create one here.
  3. Click “Save & Close”. 

Step 4 – Test the chat feature

To test the chat screen:

  1. First, add yourself as a user and in the contact list. To do this click on the chat screen.
  2. Click the blue “Edit data source” text.
  3. Enter your Full Name and Email Address and a couple more entries so you can test viewing contacts and sending a message click “Save & Close”.
  4. Go to Preview mode.
  5. Login to your app.
    a. Make sure the same email exists in the login data source as you have added in the contact data source. If these don’t match, the chat won’t work.
  6. The chat will be empty at first as you won’t have any messages.
  7. Click the icon in the top right corner to view all contacts. 
  8. Browse the list or use the search to find contacts.
  9. Click on the name and hit the “Next” button in the top right corner of your app to start a chat.
  10. To start a group chat, select multiple users before you click the Next button, and then you’ll be asked to give the group chat a name. Please note that at this time you can’t change the name later on.
  11. Type a message and click the “Send” button. Check that the message appears on the screen. It should look like this:
  12. Tap on the message to edit or delete the message.
  13. When your app is live and if you have configured push notifications, from the chat screen you can mute notifications by tapping the mute icon.

 

Was this article helpful?
YesNo