Native Lightning components reference

Native Lightning components reference

The 3B WFM+VMS managed package ships a set of native Lightning Web Components (namespace b3s) that you drop onto Salesforce pages using Lightning App Builder, the utility bar, or Flow. This article covers what each component does, where it belongs, how to add it, and the properties you configure.

How to add a component

The steps are the same for every record-page component below:

  1. Open the record page (or app page) in Setup > Edit Page, or from a record via the gear menu > Edit Page. This launches Lightning App Builder.
  2. In the Components panel on the left, scroll to the Custom (managed) section and drag the component onto the page canvas.
  3. With the component selected, set its properties in the right-hand panel.
  4. Click Save, and Activate if the page is not yet active.

Utility-bar and Flow components are added differently and are called out in their own sections.

A note on properties: only the properties listed in each table are exposed in App Builder. Components whose table is marked "no configurable properties" work automatically from the record they sit on. Where a property expects a field API name, use the full API name including the b3s__ namespace where applicable (for example b3s__Street__c).


Pay and billing

Both apps include Payroll (Pay/Bill Runner) and Invoicing (Invoice Generator) app-page tabs for global processing. WFM Admin grants tab visibility and the existing service access. If a user has personalised navigation, add these entries through the app navigation editor. Invoices remains the record list.

These components drive the pay/bill time-interpretation engine and the invoicing built on it. For the concepts behind rate cards, interpretation, and runs, see the pay/bill engine guide.

Pay/Bill Runner

What it does. Runs pay/bill time interpretation across all of an account's shifts for a chosen period. From the panel you pick a period, see a live count of the shifts that will be processed, start a batch run, monitor its progress, inspect per-shift errors, and reverse or delete completed runs.

Where it goes. The Account record page for one account, or an App/Home page for a global run. The packaged Payroll app page is available in both 3B WFM and 3B VMS, with tab visibility granted by WFM Admin. Global runs use the selected Pay/Bill Setting’s interpretation rules, not each account’s configuration rules.

How to add it. Edit the Account Lightning record page and drag Pay/Bill Runner onto it.

Property Type Required Description
Shift selection filter (deprecated) String No Ignored. Shift selection comes from Interpretation Rules on the account's invoice configuration (see the pay/bill engine article). Kept only so existing Lightning pages still deploy.

Rate Card Configurator

What it does. Edits a rate card's header settings (time source, week start, rounding interval and direction) and builds its interpretation items, with a 24-hour band visualization that colours each item by rate type (Standard, Overtime, Double Overtime, Premium).

Where it goes. The Rate Card (b3s__Rate_Card__c) record page.

How to add it. Edit the Rate Card Lightning record page and drag Rate Card Configurator onto it.

Configurable properties. None. The component reads and edits the rate card it is placed on.

Shift Rate Previewer

What it does. Previews the pay/bill interpretation for a single shift before or after a run: the resolution path (which rate card resolved and why), the staged pay/bill lines, and the totals. An Interpret Now action lets you interpret that shift on demand.

Where it goes. The Shift (b3s__Shift__c) record page.

How to add it. Edit the Shift Lightning record page and drag Shift Rate Previewer onto it.

Configurable properties. None. The component previews the shift it is placed on.

Invoice Generator

What it does. Generates, reviews and issues invoices from pay/bill staging lines. Pick a period (defaults to the previous calendar month) and click Generate to build draft invoices; regenerating replaces un-numbered drafts. On an Account page, a line under the period pickers shows which configuration and eligibility rules Generate will apply, for example Config: ACME Invoicing · Rules (Global default (Pay/Bill Setting)): Shift › Approval Status is one of Approved. The part in brackets names where the rules come from when the configuration has none of its own: the Pay/Bill Setting default, or the built-in default (approved shifts only). The invoice list filters by status (New, Issued, Reverted) and supports Issue (numbers, locks and queues the PDF), Undo (deletes un-numbered drafts), Credit (creates a full credit note for issued invoices, for review), Regenerate PDF, and per-row View lines, Open PDF and Open record. Generation results and per-invoice errors are shown inline. See invoicing.

Where it goes. Two placements, with different behaviour:

How to add it. Edit the Account record page (or an App or Home page) and drag Invoice Generator onto it.

Configurable properties. None.

Invoice Configurator

What it does. Edits an invoice configuration: general settings (account, active, default, processing, payment terms), numbering and PDF templates (client and self-bill templates picked from the Invoice Template custom metadata), tax (plugin and rates), corrections and self-billing, plus ordered Split rules, Group rules and Field mapping editors. Rows can be added, removed and moved up or down; paths are picked with a field path builder that starts at Pay/Bill Staging and drills through relationships, or typed by hand. Save validates the configuration and lists any problems.

Where it goes. The Invoice Configuration (b3s__Invoice_Configuration__c) record page.

How to add it. Edit the Invoice Configuration Lightning record page and drag Invoice Configurator onto it.

Configurable properties. None. The component edits the configuration it is placed on.


VMS (vendor management)

These components support the VMS workflow, where a master vendor broadcasts staffing demand to sub-vendors and reviews the workers they propose. For the full object model and workflows, see the VMS guide.

VMS Broadcast Panel

What it does. This is the master-vendor / admin control centre for VMS. Place it on a demand shift or a booking request and it lets you:

Approving a proposal places the worker against the demand (creating the child shift or working-pattern placement) as described in the VMS guide.

Where it goes. The Booking Request (b3s__Booking_Request__c) and Shift (b3s__Shift__c) record pages. On a Shift it is intended for demand shifts (shifts that represent a requirement for multiple assignees).

How to add it. Edit the Booking Request or Shift Lightning record page and drag VMS Broadcast Panel onto it. It shows the broadcast and review controls for the record it sits on.

Credential fields. Configure the detail rows with one VMS Credentials Component Configuration. Both the broadcast panel and the Worker Proposal Credentials component use this list. Configure the fields

Worker Proposal Credentials

What it does. Shows the tickets attached to a single worker proposal. Use Manage to change the selection. By default each row shows the ticket type and its validity dates. Use the VMS Credentials configuration to choose other details. When approval is waived for a ticket, the list hides the review buttons and shows a status badge only for Rejected or Revoked. Credential approval settings

Where it goes. The Worker Proposal (b3s__Worker_Proposal__c) record page.

How to add it. Edit the Worker Proposal Lightning record page and drag Worker Proposal Credentials onto it.

Configurable properties. None. The component reads the proposal it is placed on.

Worker Onboarding Status

What it does. Shows one worker's onboarding progress against the onboarding templates they carry: an overall status badge, the assigned templates (remove one to unassign it), and a table of every credential the templates ask for with its level, status, validity dates and approval status. A template picker lets you Check any active template against the worker without assigning it, or Assign it. Row actions approve, reject or query a pending credential, revoke a valid one, or add a missing, expired, rejected or revoked one through a standard record form (with an evidence upload step when the Ticket Type requires evidence).

Where it goes. The Contact record page. The packaged Contact Lightning page places it on the VMS tab. It can also be added to an App page.

How to add it. Edit the Contact Lightning record page and drag Worker Onboarding Status onto it.

Configurable properties. None. The component reads the Contact it is placed on and runs as the signed-in user. See Worker onboarding templates.

Workflow Settings

What it does. Explains, step by step and in plain language, which WFM and VMS workflow settings apply to the record: who finds and approves workers, credential blocking, time capture and timesheet submission, client approval, PO numbers, billable override reasons, and (for suppliers) master vendor and VMS fee. Each setting shows an On / Off badge, what it means and where the value comes from.

Where it goes. The Account, Job, Shift and Booking Request record pages. The packaged pages place it on a Workflow tab. Editable on Account (toggles) and Job (Same as account / Always / Never overrides); read-only on Shift and Booking Request.

How to add it. Edit the record page and drag Workflow Settings onto it.

Configurable properties. None. See Workflow settings component.

Onboarding Template Editor

What it does. Builds an onboarding template on one screen: edit the description and Active flag, add credentials from a Ticket Type picker, switch each between Required and Recommended, type instructions, reorder by drag and drop or up and down buttons, and delete items. Changes save immediately. It works for any onboarding template, WFM or VMS.

Where it goes. The Onboarding Template (b3s__Onboarding_Template__c) record page. The packaged Onboarding Template Record Page shows it as the main content and is the default view for the object.

How to add it. Already in place. To use it on a custom page, edit an Onboarding Template Lightning record page and drag Onboarding Template Editor onto it.

Configurable properties. None. It runs as the signed-in user, so the user needs create, edit and delete access to Onboarding Template Items and edit access to the template. See Worker onboarding templates.

Vendor Invite Chat

What it does. Renders the chat thread on a vendor invite and gives internal users (admins / master vendor) a composer to reply. Messages are shown newest activity with author role and timestamp; internal messages are visually distinguished from vendor messages.

Where it goes. The Vendor Invite (b3s__Vendor_Invite__c) record page.

How to add it. Edit the Vendor Invite Lightning record page and drag Vendor Invite Chat onto it.

Configurable properties. None. The chat is bound to the invite it is placed on.

VMS Observation Utility

What it does. A read-only, newest-first feed of recent VMS requisitions: Booking Requests with Is VMS selected and Shifts with Is VMS selected and no Working Pattern linked. Shifts generated from finalized booking requests are excluded. Invite and proposal activity appears as counts on the requisition rows. Placement extensions on VMS placements appear as Extension rows. An extension that is Pending and awaiting the Master Vendor is marked Approve, is counted in a "to approve" badge in the header, highlights the utility bar item until someone reviews it, and stays in the feed however old it is. Once you approve it and it moves on to the sub-vendor, the marker clears. The feed that lives in the utility bar so operators can watch activity across the org without opening individual records. It refreshes automatically every 20 seconds and highlights and counts items that appeared since the previous refresh. Clicking an item opens the related record.

Where it goes. The utility bar of a Lightning app (not a record page).

How to add it. In Setup > App Manager, edit the Lightning app, open the Utility Items section, click Add Utility Item, and choose VMS Observation Utility. Set the panel label, icon, and size there.

Configurable properties. None are exposed in the utility-bar setup. The feed window defaults to 7 days (the server caps it at 30).

WFM Portal App

What it does. Runs the Vendor Portal or the Client Shift Manager on an Experience Cloud page. LWR sites can't host Visualforce, so this is how licensed portal users reach the apps there. It works on Aura sites too. Each app runs in its own frame as the signed-in user. The app sees the user's own contact, so the page needs no contactId or sessionKey.

Where it goes. Any page of an Experience Cloud site (LWR or Aura).

How to add it. In Experience Builder, open the page, drag WFM Portal App from the Custom Components list onto it, and pick the App. Give each user WFM VMS Client User or WFM VMS Vendor User (see Access profiles) and a profiled Account Membership.

Configurable properties.

Property Meaning
App Vendor Portal or Client Shift Manager
Tab Optional. Shows one tab only, with no header or tab bar (the ?tab= of the Visualforce page)
Theme light or dark
Language Optional language code
Height CSS height of the app frame (default 85vh)
Hide Theme Switch / Hide Current User / Hide Language Switch Hide those header controls

Limitations. This host is for signed-in users. Guests on 3B Portals keep using the Portals page and a session key. The app is confined to its frame, so its modals cover the frame, not the whole site page. Set Height to fit the site layout.


Scheduling and shifts

Contact Shift Map

What it does. Shows a Contact's booked shifts for a selectable daily or weekly horizon. Shifts are grouped by day, visually distinguished using the described Shift status picklist, and selectable to show the related work-site location. The Site name, Job name, Shift fields, relationship paths, coordinates, and address fallback are configurable.

Where it goes. The Contact record page.

How to add it. Edit the Contact Lightning record page, drag Contact Shift Map onto it, and confirm the default field mappings. See the Contact shift map guide for horizon behavior, configuration, permissions, and troubleshooting.

Property Type Required Description
Card title String No Lightning card heading. Default Booked shifts.
Default horizon String No Initial horizon, such as TODAY, NEXT_7_DAYS, or THIS_WEEK.
Shift object API name String No Object queried for shifts. Default b3s__Shift__c.
Shift Contact lookup field String No Direct Contact lookup on the Shift. Default b3s__Contact__c.
Shift start field String No Date/Time used for horizon selection and sorting.
Shift end field String No Date/Time used for display and duration.
Shift status field String No Picklist described for status labels and colours.
Site name path String No Relationship path used for the Site name.
Job name path String No Relationship path used for the Job name.
Site latitude path String No Relationship path used for map latitude.
Site longitude path String No Relationship path used for map longitude.
Site address paths String No Comma-separated relationship paths used when coordinates are empty.
Map zoom Integer No Selected-location map zoom from 1 to 22. Default 14.

Workforce Location History

What it does. Maps worker and work-site locations from configurable relationship paths. On Shift records it also shows time-ordered Geo Tag evidence, straight-line distance classifications, an on-site radius, and review signals for failed, missing, or distant location events.

Where it goes. The Shift (b3s__Shift__c), Booking Request (b3s__Booking_Request__c), and Working Pattern (b3s__Working_Pattern__c) record pages.

How to add it. Edit a supported Lightning record page, drag Workforce Location History onto it, and configure paths for that record type. See the Workforce location map guide for view behavior, distance rules, record-specific examples, and troubleshooting.

Property Type Required Description
Worker latitude path String No Relationship path used for worker latitude.
Worker longitude path String No Relationship path used for worker longitude.
Worker address paths String No Comma-separated fallback address paths.
Site latitude path String No Relationship path used for site latitude.
Site longitude path String No Relationship path used for site longitude.
Site address paths String No Comma-separated fallback address paths.
Show worker location Boolean No Shows the worker marker, address, and home-to-site metric. Default true.
Show Shift Geo Tags Boolean No Enables Shift event evidence on Shift records. Default true.
Geo Tag object API name String No Object queried for location events.
Geo Tag Shift lookup field String No Field relating a Geo Tag to its Shift.
Geo Tag latitude field String No Geo Tag latitude field.
Geo Tag longitude field String No Geo Tag longitude field.
Geo Tag type field String No Event type displayed in the evidence list.
Geo Tag time field String No Event timestamp used for ordering and display.
Geo Tag location error field String No Error text used to flag failed location capture.
Single-location map zoom Integer No Overview zoom when only one marker is available. Default 10.
Shift activity map zoom Integer No Site-focused activity zoom from 1 to 22. Default 15.
On-site radius Integer No Metres inside which an event is classified as within the site area. Default 400.
Distance review threshold Integer No Metres beyond which an event is highlighted for review. Default 400.

Working Pattern Builder

What it does. Authors the week and day rotation for a working pattern type. You build one or more weeks, and for each day of each week set a start and end time. Days and weeks are added, edited, and removed in the builder and saved back as the pattern type's child working-pattern-day records.

Where it goes. The Working Pattern Type (b3s__Working_Pattern_Type__c) record page.

How to add it. Edit the Working Pattern Type Lightning record page and drag Working Pattern Builder onto it.

Configurable properties.

Property Type Required Description
Working Pattern Type Lookup Field String No API name of a lookup on the host object pointing to the Working Pattern Type. Blank when placed on the Working Pattern Type page itself.
Time Entry Mode Times or Rate Basis No Times (default) = start and end per day. Rate Basis = a required Rate Basis per day; its template fills and can lock the times.
Job Lookup Field String No Rate Basis mode only. API name of a Job lookup on the host record (for example b3s__Job__c) whose templates apply. Blank = global templates.

Each day saves b3s__Rate_Basis__c on the Working Pattern Day in Rate Basis mode; in Times mode new days are saved with it blank. Day values are the fallback when shifts generate: the placement's, else the booking request's Rate Basis wins. See Rate basis templates.

Address Autocomplete

What it does. Lets users search for an address, pick a match, and map the parts (street, city, province/state, postal code, country, and latitude/longitude) onto fields of the current record. It shows an optional map preview and can geocode the selected address to populate coordinates. Because the field mappings are configurable, you can reuse it on any object that stores an address.

Where it goes. Any record page (you map it to that object's address fields).

How to add it. Edit the record page for the object whose address fields you want to populate, drag Address Autocomplete on, and set the field-mapping properties to that object's API field names.

Property Type Required Description
Street Field String No API name of the Street field.
City Field String No API name of the City field.
Province/State Field String No API name of the Province/State field.
Postal Code Field String No API name of the Postal/Zip Code field.
Country Field String No API name of the Country field.
Latitude Field String No API name of the Latitude field (for example a Location field's Latitude component).
Longitude Field String No API name of the Longitude field (for example a Location field's Longitude component).
Variant String No Field layout: standard, label-hidden, label-inline, or label-stacked. Default standard.
Locale String No Locale used for address field layout (for example en-US, en-GB, fr-FR, ja-JP). Default en-GB.
Required Boolean No Address fields must be filled before saving. Default false.
Read-only Boolean No Render fields as read-only and hide the Save button. Default false.
Hide Province/State Boolean No Hide the province/state field (useful for countries that do not use one). Default false.
Compact Address Boolean No Render street as two inputs (street plus subpremise) instead of a single textarea. Default false.
Help Text String No Help text shown next to the address label.
Country Lookup Filter String No Comma-separated ISO 3166-1 Alpha-2 country codes to restrict the address lookup (up to 5), for example US,GB,AU. Default GB.
Hide Map Boolean No Hide the map preview below the inputs. Default false.
Map Zoom Level Integer No Zoom level for the map preview (1-22). Default 15.
Address Section Label String No Label for the address section. Default Address.
Address Lookup Label String No Label for the lookup input.
Address Lookup Placeholder String No Placeholder for the lookup input.
Street Label String No Default Street.
Street Placeholder String No Placeholder for the street input.
City Label String No Default City.
City Placeholder String No Placeholder for the city input.
Province/State Label String No Default Province/State.
Province/State Placeholder String No Placeholder for the province/state input.
Postal Code Label String No Default Postal Code.
Postal Code Placeholder String No Placeholder for the postal code input.
Country Label String No Default Country.
Country Placeholder String No Placeholder for the country input.
Coordinates Label String No Default Coordinates.

Utility

3B Signature Viewer

What it does. Renders a signature captured elsewhere in the 3B suite as an image inside a Flow screen. You pass it the stored signature value (a JSON string containing the signature text and image), and it displays the image, falling back to a configurable message when no signature is present.

Where it goes. A Flow screen.

How to add it. In Flow Builder, add a Screen element, then from the component palette drag 3B Signature Viewer onto the screen and set its properties.

Property Type Required Description
JSON Value String No JSON string containing the signatureText and image fields. Bind this to the field or variable that stores the collected signature.
No Signature Message String No Message displayed when there is no signature. Default No Signature.

Spinner

What it does. A small loading spinner used inside other 3B components while data loads.

Where it goes. Nowhere directly. This component is not exposed to Lightning App Builder, the utility bar, or Flow. It is an internal building block used by other package components, so there is nothing for an admin to place or configure.

Version 11 component updates

Credential Requirements

Add Credential Requirements to an internal home or app page in Lightning App Builder, or open its tab in the 3B WFM or 3B VMS app. It lets admins browse requirement templates, check which requirements apply to a scope, and inspect affected upcoming work.

The App definition type property defaults to Client Shift Manager. The component reads that configuration's schedulables.requirement criteria and optional Apex plugin. WFM Admin provides tab and controller access; grant Certificate Requirement object and field access through an org-owned permission set. See Credential requirements console.

Workforce Location History check-in settings

On Shift record pages, the component now displays check-in status alongside the location evidence. Check-in high risk (minutes) defaults to 60; Check-in low risk (minutes) defaults to 90. Align these with the attendance reports and your Clock configuration. A check-in intentionally recorded without location is not marked as a location failure. See Shift check-in.