Skip to main content

AddActionBarItem

Adds a button to the ActionBar at the top right of each list or detail view. The locationId can be determined by pressing ctrl + u when running the Admin UI in dev mode.

Example

providers.ts
export default [    addActionBarItem({        id: 'print-invoice',        label: 'Print Invoice',        locationId: 'order-detail',        routerLink: ['/extensions/invoicing'],    }),];
Signature
function addActionBarItem(config: ActionBarItem): void

Parameters

config

parameterActionBarItem
Was this chapter helpful?
Report Issue
Edited Feb 2, 2026·Edit this page