NC Date Time Slots

Not yet released: this component will ship in an upcoming Native Rent package version.

NC Date Time Slots shows a week of days and the time slots of the chosen day. People pick one slot by default, or several if you set Selection Mode to multi. It outputs the Start Date/Time, End Date/Time, Selected Date, and Selected Slots.

Use it when someone books a pickup, a drop-off, or another appointment on a Rentable, and booked times should be blocked.

NC Date Time Slots, slot grid on desktop: Thursday 4 February 2027, 3:00 PM selected, and blocked afternoon slots struck through.
NC Date Time Slots, slot grid on desktop: Thursday 4 February 2027, 3:00 PM selected, and blocked afternoon slots struck through.
NC Date Time Slots on a phone, list layout: 10:00 AM and 11:00 AM selected, "2 selected", and earlier times struck through.
NC Date Time Slots on a phone, list layout: 10:00 AM and 11:00 AM selected, "2 selected", and earlier times struck through.

Layouts

LayoutAPI valueWhat the user seesExample
AutoautoLarge two-column blocks on a phone or when the component is under 600 px wide. A slot grid on a wider screen.A pickup screen used on desktop and phone.
GridgridA compact slot grid. The grid becomes two columns under 600 px.A wide desktop booking panel.
ListlistLarge two-column blocks for each time.A narrow column or a phone.

The week strip always starts on Sunday. Previous week and Next week move the strip. The title is the month and year of that week.

Days and time slots

Slots run from Start Time to End Time in steps of Slot Length. Blank Start Time uses 09:00. Blank End Time uses 17:00. For example, 09:00 to 17:00 in 30-minute steps gives 16 slots. Times you type, and list entries that have no time zone, use the time zone in the user's Salesforce settings, not the device clock. A slot picked at 9:00 shows as 9:00 when Flow shows that date/time later.

These slots cannot be picked. They are greyed out and struck through:

A day with no free slot is disabled in the strip. The screen opens on the first day that has a free slot, looking up to 60 days ahead. If none is free, it opens on today, or on Earliest Date if that is later.

One slot or several: Selection Mode single (the default) picks one slot. Tapping it again clears it. With multi, people tap several slots, and a count such as "3 selected" shows. Start Date/Time is then the earliest start, and End Date/Time is the latest end, even if there is a gap between picks. Every picked slot is listed in Selected Slots.

Navigate After Selection works with single selection only. After a slot is picked, the flow can move on, so you can hide the screen footer buttons.

If Start Time is not before End Time, a time cannot be read, or the slot length does not fit between them, the component shows a setup message instead of the slots.

Blocked slots

Blocked slots can come from three sources, used together:

  1. Blocked Slots is a comma-separated list. A day (2026-12-24) blocks the whole day. A slot start (2026-12-01T10:00) blocks one slot. A start/end pair (2026-12-01T10:00/2026-12-01T12:00) blocks every slot it overlaps.
  2. Blocked Slots (Collection) is a Text collection with entries in the same format.
  3. Blocked Records is a record collection, for example Events or appointments from Get Records. The fields are StartDateTime and EndDateTime unless you set Blocked Start Field and Blocked End Field. A record with no end blocks one slot. Get Records must store those fields. "Automatically store all fields" is not enough.

List entries without a time zone use the user's Salesforce time zone. Flow date/time values that end in Z or an offset, such as record fields and the outputs, are exact instants. The Start Date/Time, End Date/Time, and Selected Slots outputs are Flow date/times in UTC. Selected Date is a local Date: the calendar day of the earliest picked slot in the user's Salesforce time zone. Today, the slot labels, and whole blocked days use the same time zone. If that time zone cannot be read, the device time zone is used.

Add it to a screen

  1. Add NC Date Time Slots to the screen. Set Label, and turn on Required if a slot is needed.
  2. Set Start Time, End Time, and Slot Length, or leave them blank for 09:00 to 17:00 in 30-minute steps.
  3. Optionally set Earliest Date and Latest Date. Map a Blocked Records collection, and set the start and end fields, or leave them blank for StartDateTime and EndDateTime. Add more blocked times as a list or a Text collection if needed.
  4. Set Selection Mode to multi if people can pick more than one slot.
  5. Map Start Date/Time in and out of the same variable to prefill or read one slot. For several slots, map Selected Slots in and out. Use End Date/Time and Selected Date later in the flow. An empty incoming Selected Slots value doesn't clear existing picks.

Note: Start Date/Time and End Date/Time are already exact Flow date/times. Flow shows them as the time the user picked in the user's Salesforce time zone. Use them as they are. Do not pass them through a separate time zone or time-adjust step in the flow, or the time shifts twice.

Example

A pickup time for a Rentable:

Validation

Next is blocked when the slot is required and nothing is picked. The component shows "Choose a time to continue." If a prefilled slot is now blocked or its start time has passed, Next shows "That time isn't available any more. Choose another time." You can replace the required text with Required Message. The message shows under the component, not as a Flow error.

Until a slot is picked, Start Date/Time, End Date/Time, Selected Date, and Selected Slots are sent to the flow as empty (null), not as empty text.

A required NC Date Time Slots after Next with nothing picked: "Choose a time to continue."
A required NC Date Time Slots after Next with nothing picked: "Choose a time to continue."

Phone and desktop

Auto shows large two-column blocks on a phone or when the component is under 600 px wide, and a slot grid on a wider screen. Layout Grid also becomes two columns under 600 px. Day, slot, and week buttons are at least 44 px tall. 44 px touch targets also apply at 600 px or less, on a phone, or on a touch screen. Map Start Date/Time or Selected Slots in and out of the same variables to keep the picks if the screen is re-created. An empty incoming Selected Slots value doesn't clear existing picks. NC Date Time Slots has no Color Map.

Day and slot buttons have full names, such as "Thursday, March 4, 10:00 AM to 10:30 AM." Unavailable times are announced as "Unavailable."

Limits

Properties

PropertyAPI nameDefaultDescription
LabelfieldLabel(blank)Question or field label shown above the dates.
Help TexthelpText(blank)Optional hint under the label.
RequiredrequiredfalseBlock Next until a time slot is selected.
Required MessagerequiredMessage(blank)Optional. Blank uses the translated default.
DisableddisabledfalseShow the dates and times read-only.
Start TimestartTime(blank)First slot of each day, e.g. 09:00 or 9:00 AM. Blank uses 09:00. In the user's Salesforce time zone (Settings > Time Zone), not the device clock.
End TimeendTime(blank)When the last slot of each day must end, e.g. 17:00 or 5:00 PM. Blank uses 17:00.
Slot Length (Minutes)slotMinutes30Length of each slot in minutes (5-720). Default 30.
Earliest DateminDate(blank)Optional. Days before this cannot be picked. Days before today never can.
Latest DatemaxDate(blank)Optional. Days after this cannot be picked.
Blocked SlotsblockedSlots(blank)Optional comma-separated list. A day (2026-12-24) blocks the whole day; a start (2026-12-01T10:00) blocks one slot; a start/end pair (2026-12-01T10:00/2026-12-01T12:00) blocks every slot it overlaps. Times are in the user's Salesforce time zone unless the value ends in Z or an offset.
Blocked Slots (Collection)blockedSlotsCollection(blank)Optional Text collection with entries in the same format as Blocked Slots.
Blocked RecordsblockedRecords(blank)Optional record collection of booked periods (for example Events or appointments). Each record needs a start and an end date/time (see Blocked Start Field and Blocked End Field).
Blocked Start FieldblockedStartField(blank)Date/time field API name for the start on each blocked record. Blank uses StartDateTime.
Blocked End FieldblockedEndField(blank)Date/time field API name for the end on each blocked record. Blank uses EndDateTime. A record with no end blocks one slot.
Selection ModeselectionModesinglesingle (default) or multi. Multi: tap several slots; Start Date/Time is the earliest start and End Date/Time the latest end.
Layoutlayoutautoauto (default), grid or list. Auto: large two-column blocks (list) on phones or under 600px, a slot grid on wide screens.
Accent ColoraccentColor(blank)Selected and focus color, e.g. #0B5CAB. Hex, rgb() or a color name. Lightened or darkened until it reaches 3:1 against the tile color (or the theme surface if no tile is set). Also tints the focus ring and the selected/highlighted row. Blank follows the org theme (and dark mode).
Background ColorbackgroundColor(blank)Optional color behind the whole component.
Text ColortextColor(blank)Optional. On choices and results: used as-is on the theme surface, or checked at 4.5:1 against a tile color if one is set. On the label and help: checked at 4.5:1 against the background if one is set; otherwise dark or white text is picked automatically.
Text Sizesizemediumsmall, medium (default), large or xlarge.
Corner Shapeshaperoundedrounded (default), square or pill.
Alignmentalignstartstart (default), center or end.
Navigate After SelectionnavigateOnSelectnonenone (default), next, back, finish or pause. Single selection only: after a slot is picked the Flow can move on, so you can hide the screen footer buttons. Next and Finish check Required first; Next becomes Finish on the last screen.
Available ActionsavailableActions(blank)Set by Flow; do not map.

Outputs

OutputAPI nameTypeDirectionDescription
Start Date/TimestartDateTimeDate/TimeInput and outputStart of the selected slot (multi: the earliest). Map in to prefill a single slot, out to read the choice. Empty until a slot is picked.
End Date/TimeendDateTimeDate/TimeOutputEnd of the selected slot (multi: the latest). Empty until a slot is picked.
Selected DateselectedDateDateOutputDay of the (first) selected slot. Empty until a slot is picked.
Selected SlotsselectedSlotsTextInput and outputEvery selected slot as start/end pairs (UTC), comma-separated, e.g. 2026-12-01T15:00:00.000Z/2026-12-01T15:30:00.000Z. Map in to prefill several slots.

Shared behavior

Layout and width, required messages, colors, navigation, data sources, translations, accessibility, and the setup panel work the same way on every component. See NC screen components.

To copy this component's settings to another screen, use Copy settings at the top of its setup panel. See Copy settings.