Screen Flow components Schedule a call

Worked examples

Worked examples for Native Mobile Data Table.

Worked examples

Every example uses Layout table and Show Sort on. The names in the tables are the real property names: fieldNames, layoutMode, listFieldCount, objectApiName, columnLabels, and dateOnlyFields.

Review rental lines, dates without times

Select Rental Transaction For Contact and Select Rental Transaction For Rentable, screen element Transaction_Details_Date.

PropertyValue
T (Object)Rental Transaction Detail
recordsRetrieve_Transaction_Details
objectApiNamenativerent__Rental_Transaction_Detail__c
fieldNames
nativerent__RentableName__c,Name,nativerent__Status__c,nativerent__Rate__c,nativerent__Quantity__c,nativerent__Total_Amount__c,nativerent__Start_Date__c,nativerent__End_Date__c
columnLabelsRentable,Line,Status,Rate,Qty,Amount,Start,End
dateOnlyFieldsnativerent__Start_Date__c,nativerent__End_Date__c
selectionModenone
layoutModetable
showSorttrue
headerLabelRental lines

A read-only list of the rental's lines. Start and End show as dates only. The same Flows have a second table, Transaction_Details, with the same settings but no Date-Only Fields, for date and time mode.

  1. A rental is selected on the Checkout screen. Tap Review lines. The Continue button is the other button.
    Checkout screen with a rental selected and Review lines visible
    Before. Desktop. A rental is selected.
    1. Review lines
  2. The Review rental lines screen has a Rental lines table. Start and End show as dates only. Back to rentals and Check Out are at the bottom.
    Review rental lines screen with the Rental lines table and Start and End as dates only
    After. Desktop. Dates only.
    1. Start
    2. End
    Review rental lines on a phone with Start and End as dates only
    After. Phone. Dates only.
    1. Start
    2. End
  3. For comparison, the date and time version of the same lines.
    The same lines with Start and End shown with the time
    Compare. Desktop. Date and time.
    1. Start, with the time
    2. End, with the time

Pick one rate, selection required

NR Edit Rental Transaction, screen element RentableRatesFound. The Choose a rate screen shows only when the Rentable has no rate of the rental's charge type and has two or more other rates. The Flow reads the other rates from Get_Other_Rentable_Rates.

PropertyValue
T (Object)Rental Rate
recordsGet_Other_Rentable_Rates
objectApiNamenativerent__Rental_Rate__c
fieldNamesnativerent__Charge_Name__c,nativerent__Charge_Type__c,nativerent__Rate__c
columnLabelsCharge Name,Charge Type,Rate
selectionModesingle
requiredtrue
layoutModetable
showSorttrue
headerLabelRentable rates

The user must pick one rate before Next. The table sits under the heading Rentable rates. The Flow reads the pick from Selected Record.

  1. Nothing is selected yet. If the user presses Next, the screen shows Please select a record.
    Choose a rate screen with the Rentable rates table, nothing selected, and the message Please select a record.
    Before. Desktop. Nothing is selected. The message Please select a record. shows.
    1. The Rentable rates table
    2. The message Please select a record.
    Choose a rate screen on a phone with the Rentable rates table and nothing selected
    Before. Phone. Nothing is selected.
    1. The Rentable rates table
  2. The user picks one rate.
    Choose a rate screen with the Weekly row selected
    After. Desktop. The Weekly row is selected.
    1. The selected row
    Choose a rate screen on a phone with the Weekly row selected
    After. Phone. The Weekly row is selected.
    1. The selected row

Pick several add-ons, with search

NR Edit Rental Transaction, screen element IncludeAddOn.

PropertyValue
T (Object)Rentable
recordsAdd_Onwithout_Conflict
objectApiNamenativerent__Rentable__c
fieldNames
Name,nativerent__Name__c,nativerent__Rentable_Details__c,nativerent__Best_Rate__c,nativerent__Non_serialized__c
columnLabelsRentable,Name,Rentable Details,Best Rate,Non-serialized
selectionModemulti
preselectedRecordsCurrent_AddOn_Items
showSearchtrue
layoutModetable
showSorttrue
headerLabelAvailable add-ons

Checkboxes for several Rentables. The Flow reads Selected Records.

  1. The Add-ons screen lists Current add-ons and Available add-ons. Under Current add-ons, a tick marks an add-on to remove.
    Add-ons screen with Current add-ons, Available add-ons and a search box
    Before. Desktop. The Add-ons screen. Current add-ons are listed first. Available add-ons has a search box.
    1. Current add-ons, already on the rental
    2. The search box above Available add-ons
    Add-ons screen on a phone with Current add-ons and a search box
    Before. Phone. The Add-ons screen on a phone.
    1. Current add-ons, already on the rental
    2. The search box above Available add-ons
  2. Type in the search box. The list shortens.
    Add-ons screen with Auger typed in the search box and one available add-on listed
    Desktop. Auger is typed. The list shows 1 of 2.
    1. The search box with the text Auger
    2. The filtered list
    Add-ons screen on a phone with Auger typed in the search box
    Phone. Auger is typed.
    1. The search box with the text Auger
  3. Select one more add-on.
    Add-ons screen with one available add-on ticked and 1 selected
    After. Desktop. One add-on is ticked. The bar shows 1 selected and Clear.
    1. The new row is ticked

Match a contact on a standard object

Native Barcode Scanner Template, screen element ContactsFound.

PropertyValue
T (Object)Contact
recordsSearch_For_Contacts
objectApiNameContact
fieldNamesName,Email,Phone,Birthdate
columnLabelsName,Email,Phone,Birthdate
selectionModesingle
layoutModetable
showSorttrue
headerLabelMatching contacts

Shows the contacts that match a scan so the user can pick one. It works the same on standard objects.

  1. The matching contacts show. None is selected.
    Contact search screen with the Matching contacts table, none selected
    Before. Desktop. None selected. The Show Details button is at the bottom.
    1. Name
    2. Email
    3. Phone
    4. Birthdate
    Contact search screen on a phone before selection
    Before. Phone. None selected.
    1. The Matching contacts table
  2. The user picks one contact.
    Contact search screen with one contact selected
    After. Desktop. One contact selected.
    1. The selected row
    Contact search screen on a phone with one contact selected
    After. Phone. One contact selected.
    1. The selected row