FleetbaseFleetbase
Order PresentationReference

Troubleshooting

Why an order presentation profile doesn't apply, a section is missing or empty, a field or action still shows, or a value survives a type switch — and how to fix each.

Troubleshooting

The Standard Form Still Shows

Check each step of matching:

CheckHow
The order config names the profileIts meta.presentation_profile equals your profile's id exactly
The profile is registereduniverse.getService('registry').getRegistry('fleet-ops:order-presentation', 'profiles') in the console lists it
It is registered before the view rendersRegister from setupExtension. A profile registered later applies the next time the view renders
isEnabled returns trueExactly true: a truthy value such as 1 or a non-empty string doesn't count
The view supports profilesHosts that render Order::Form or Order::Details with a block, such as the customer portal, don't use profiles

The Form or Details View Is Empty

The profile applies, but has no form.sections or details.sections. When a profile applies, its lists are the whole layout. Add both; list the standard sections to keep a view as it was.

A Section Is Missing

CauseFix
It isn't in the listSection lists replace the layout: list every native section you want
A native name for the wrong viewdetails is a form section; detail is a details section
Your component didn't renderCheck the ExtensionComponent's engine name and path, and that your engine is installed
Another extension's component is missingRegistry slots aren't rendered for profiled orders; see The Details View

A Field Still Shows

CauseFix
The key is wrongUse the keys in Hiding Fields
It isn't hideableThe order type selector and custom fields can't be hidden
It's in your own sectionRead @hiddenFields in your section

A Hidden Field Still Has a Value

Hiding doesn't clear values. Reset them in prepare.

An Action Still Shows

CauseFix
The id is wrongUse the ids in Actions, spelled exactly
Only one of a pair is hiddenassign-driver and unassign-driver are separate: hide both
It isn't a built-in actionhidden.actions only hides Fleet-Ops' own; ask the extension that adds it, or check the profile in your own action's visibleWhen

The Order Can't Be Saved

CauseFix
No pickup and dropoffFleet-Ops still requires them (or two waypoints). Keep the route section, or set them from your own section
A validation rule returns falseCheck your setOrderValidationRule rules, and that they return true for orders that aren't yours

The Order Type Can't Be Changed

Once saved, an order with a profile keeps its type: the selector is disabled. This is by design.

Troubleshooting | Fleetbase