Screen Flow components Schedule a call

Display options

Fonts, density, Show more, color map, dates, rich text, checkboxes, and editing on Native Mobile Data Table.

Cards, density, and text size

Card details

A card with extra details collapsed and Show details visible
Before. Desktop. Details are collapsed.
  1. Show details
A collapsed card on a phone
Before. Phone. Details are collapsed.
  1. Show details
The same card expanded, showing its detail fields
After. Desktop. The details are open. The detail fields show under the title.
  1. The detail fields

Font size

Cards at small, medium and large font size, desktop Cards at small, medium and large font size, desktop (2 of 3) Cards at small, medium and large font size, desktop (3 of 3)
Compare. Desktop. Small, medium, and large.
  1. Small
  2. Medium
  3. Large
Cards at small, medium and large font size, phone Cards at small, medium and large font size, phone (2 of 3) Cards at small, medium and large font size, phone (3 of 3)
Compare. Phone. Small, medium, and large.
  1. Small
  2. Medium
  3. Large

Density

The Compact list at Comfortable, Compact and Dense density, side by side
Compare. Desktop. Comfortable, Compact, and Dense.
  1. Comfortable
  2. Compact
  3. Dense

The picture above is from desktop.

Row and card colors

Colors apply to whole table rows, cards, and list items. They are not limited to the status cell.

  1. Set Color Field to the field whose value picks the color. Leave it blank to keep the default look.
    Color Field, Color Map and Show Status Badge in the settings panel
    Flow Builder. Color Field, Color Map, and Show Status Badge.
    1. Color Field
    2. Color Map JSON
    3. Show Status Badge
  2. Set Color Map JSON, for example
    [{'key':'Open','value':'#8DC63F','font':'white'},{'key':'Closed','value':'#F15A29'}]
    .
  3. Choose how the color shows. With Show Status Badge off (the default), the whole row, card, or list item is tinted. With it on, the value shows as a small colored pill and rows get a 4 px left accent.

Badge on

A table with status badges and a left accent
Desktop. Badges on a table.
  1. Status badge
  2. left accent
Cards with status badges and an accent
Desktop. Badges on cards.
  1. badge
  2. card accent
Compact list with status colors and badges
Desktop. Badges on the compact list.
  1. list accent or badge
Cards with status badges on a phone
Phone. Badges on a phone.
  1. badge
  2. card

Badge off

A table with whole-row status tints and no badge
Compare. Desktop. The whole row is tinted.
  1. whole-row or whole-card tint

The same colors can be set for a priority field, for group headers, and for a color key. See the Colors settings below.

Edit values

Edit Mode (editMode) is None (read-only, default), so the table is read-only. Pick one of two modes to let users change values.

A table in Display as Input mode with a value being typed
Desktop. Display as Input: fields are inputs.
  1. The input fields

How to save edits in a Flow

The component does not write to the database. Your Flow saves the edits.

  1. Set Edit Mode to Pencil icon or Display as Input. List the Editable Fields.
    Edit Mode set to Pencil icon and the Editable Fields list in the settings panel. Draft State does not show in this view. Manually assign variables is unchecked.
    Flow Builder: Edit Mode is Pencil icon, and Editable Fields lists the fields users can edit.
    1. Edit Mode is Pencil icon
    2. Editable Fields
  2. Optional: set Column Types for a field that should not use the type the component finds.
  3. Store Edited Records in a record collection variable.
  4. Map Draft State to the same Text variable in both Input and Output. Do not leave it unbound.
  5. After the screen, add an Update Records element that updates from the Edited Records collection.

What the user does:

  1. The user sees a pencil next to each editable value.
    Pencil icons on a table, no edit started
    Before. Desktop. Pencils on a table.
    1. The pencil icons
    A card with a pencil, before an edit, on a phone
    Before. Phone. A pencil on a card.
    1. pencil on the card
  2. The user taps the pencil and types. In the pencil editor, Enter saves the value on the screen and Escape cancels.
    A pencil editor open with a typed value
    Desktop. The editor is open.
    1. editor
    2. check mark
    3. X
  3. The user taps the check mark. The edited value gets a soft tint, an accent bar, and a small pencil.
    An edited table cell with a tint, an accent bar and a small pencil
    After. Desktop. The edit is saved on the screen.
    1. edited marker
    An edited card field on a phone
    After. Phone. The edit is saved on the screen.
    1. edited marker
  4. The user taps Next. Edited Records holds the changed rows. The Update Records element saves them.
    A table of the edited records after Next
    After. Desktop. Edited Records holds the changed row.
    1. editedRecords row

If Next is blocked

With Draft State mapped, an open pencil editor comes back with its text and focus after the screen reloads. Saved and cancelled editors stay closed.

A pencil editor open with typed text
Before. Desktop. An open pencil editor with typed text.
  1. open editor
  2. typed text

Dates, rich text, and checkboxes

Show a Date/Time field as a date

Date and time formats

Date Format and Date/Time Format use a limited set of tokens, for example DD/MM/YYYY or DD.MM.YYYY HH:mm. Supported tokens include YYYY, YY, M, MM, MMM, MMMM, D, DD, Do, d, dd, ddd, dddd, H, HH, h, hh, m, mm, s, ss, A, a, Z, ZZ, L, LL, LLL, LLLL, LT, and LTS. You can wrap literal text in square brackets, and you can escape one character with a backslash. Leave the setting blank for the default look. Tokens the formatter does not support fall back to the default format.

An open card with Purchase_Date shown as a date and Created Date shown with a date and a time
Desktop. Purchase_Date shows a date. Created Date shows a date and a time.
  1. Purchase_Date
  2. Created Date
A card on a phone with Purchase_Date shown as a date and Created Date shown with a date and a time
Phone. The same two fields on a phone.
  1. Purchase_Date
  2. Created Date

Rich text

A card with Rentable Details shown as formatted text and a QR code image
Desktop. Rich text and a QR image show formatted.
  1. The rendered QR image
A card on a phone with a QR code image
Phone. The same on a card on a phone.
  1. The rendered QR image

Checkboxes

A table with Yes in the Active and Non-serialized columns, and the row selector column A table with Yes in the Active and Non-serialized columns, and the row selector column (2 of 2)
Desktop. Checkbox fields in the table. The row selector is a separate column.
  1. A true value shows as Yes
  2. A false value is blank
  3. The row selector is a separate column
Read-only check boxes on cards on a phone
Phone. Read-only boxes on cards on a phone.
  1. A read-only check box

Dates and time zones

Date/Time values in the Native Mobile Data Table use the browser or device time zone. This applies in table, list, and card views, on phone and desktop, including Auto layout.

Date fields are unchanged and never shift.

A Date/Time field listed in Date-Only Fields shows the calendar day in the browser or device time zone.

Date Format and Date/Time Format settings still apply.

Search finds the date as shown. When the browser time zone differs from the user's time zone, a search can also match the browser-zone date or time.

Date/Time values in a CSV export are exactly as displayed. They use the user's Salesforce time zone and the configured Date/Time Format.

Nothing to configure. There are no new or changed properties, and stored values are not changed.

If the browser does not recognize the user's time zone, the table falls back to the browser's time zone.

Known limits