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_.
| Property | Value |
|---|---|
| T (Object) | Rental Transaction Detail |
| records | Retrieve_Transaction_Details |
| objectApiName | nativerent__ |
| fieldNames | nativerent__ |
| columnLabels | Rentable,Line,Status,Rate,Qty,Amount,Start,End |
| dateOnlyFields | nativerent__ |
| selectionMode | none |
| layoutMode | table |
| showSort | true |
| headerLabel | Rental 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_, with the same settings but no Date-Only Fields, for date and time mode.
- A rental is selected on the Checkout screen. Tap Review lines. The Continue button is the other button.

Before. Desktop. A rental is selected. - Review lines
- 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.

After. Desktop. Dates only. - Start
- End

After. Phone. Dates only. - Start
- End
- For comparison, the date and time version of the same lines.

Compare. Desktop. Date and time. - Start, with the time
- 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_.
| Property | Value |
|---|---|
| T (Object) | Rental Rate |
| records | Get_Other_Rentable_Rates |
| objectApiName | nativerent__ |
| fieldNames | nativerent__ |
| columnLabels | Charge Name,Charge Type,Rate |
| selectionMode | single |
| required | true |
| layoutMode | table |
| showSort | true |
| headerLabel | Rentable 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.
- Nothing is selected yet. If the user presses Next, the screen shows Please select a record.

Before. Desktop. Nothing is selected. The message Please select a record. shows. - The Rentable rates table
- The message Please select a record.

Before. Phone. Nothing is selected. - The Rentable rates table
- The user picks one rate.

After. Desktop. The Weekly row is selected. - The selected row

After. Phone. The Weekly row is selected. - The selected row
Pick several add-ons, with search
NR Edit Rental Transaction, screen element IncludeAddOn.
| Property | Value |
|---|---|
| T (Object) | Rentable |
| records | Add_Onwithout_Conflict |
| objectApiName | nativerent__ |
| fieldNames | Name,nativerent__ |
| columnLabels | Rentable,Name,Rentable Details,Best Rate,Non-serialized |
| selectionMode | multi |
| preselectedRecords | Current_AddOn_Items |
| showSearch | true |
| layoutMode | table |
| showSort | true |
| headerLabel | Available add-ons |
Checkboxes for several Rentables. The Flow reads Selected Records.
- The Add-ons screen lists Current add-ons and Available add-ons. Under Current add-ons, a tick marks an add-on to remove.

Before. Desktop. The Add-ons screen. Current add-ons are listed first. Available add-ons has a search box. - Current add-ons, already on the rental
- The search box above Available add-ons

Before. Phone. The Add-ons screen on a phone. - Current add-ons, already on the rental
- The search box above Available add-ons
- Type in the search box. The list shortens.

Desktop. Auger is typed. The list shows 1 of 2. - The search box with the text Auger
- The filtered list

Phone. Auger is typed. - The search box with the text Auger
- Select one more add-on.

After. Desktop. One add-on is ticked. The bar shows 1 selected and Clear. - The new row is ticked
Match a contact on a standard object
Native Barcode Scanner Template, screen element ContactsFound.
| Property | Value |
|---|---|
| T (Object) | Contact |
| records | Search_For_Contacts |
| objectApiName | Contact |
| fieldNames | Name,Email,Phone,Birthdate |
| columnLabels | Name,Email,Phone,Birthdate |
| selectionMode | single |
| layoutMode | table |
| showSort | true |
| headerLabel | Matching contacts |
Shows the contacts that match a scan so the user can pick one. It works the same on standard objects.
- The matching contacts show. None is selected.

Before. Desktop. None selected. The Show Details button is at the bottom. - Name
- Phone
- Birthdate

Before. Phone. None selected. - The Matching contacts table
- The user picks one contact.

After. Desktop. One contact selected. - The selected row

After. Phone. One contact selected. - The selected row