API Reference > ui-abstract > UiItemsProvider > UiItemsManager > getToolbarButtonItems getToolbarButtonItems MethodStatic Called when the application is populating a toolbar so that any registered UiItemsProvider can add tool buttons that either either execute an action or specify a registered ToolId into toolbar. getToolbarButtonItems(stageId: string, stageUsage: string, toolbarUsage: ToolbarUsage, toolbarOrientation: ToolbarOrientation): CommonToolbarItem[] Parameter Type Description stageId string a string identifier the active stage. stageUsage string the StageUsage of the active stage. toolbarUsage ToolbarUsage usage of the toolbar toolbarOrientation ToolbarOrientation orientation of the toolbar Returns - CommonToolbarItem[] an array of error messages. The array will be empty if the load is successful, otherwise it is a list of one or more problems. Defined in ui/abstract/src/ui-abstract/UiItemsManager.ts Line 132 Last Updated: 11 June, 2024