Adding custom toolbar items


I am presently working on adding custom buttons to the toolbar. Despite modifying the toolbar.js file in the Frappe directory, the changes I make do not seem to take effect. Moreover, I am hesitant to alter the core code. Has anyone else attempted this and can suggest the best approach? My ultimate objective is to introduce a custom menu button enabling users to make third-party API calls. I prefer not to use ‘add_custom_button’ or ‘add_menu_item’ methods, as I want this button to be applicable across multiple doctypes.

Thank you for your assistance! :slight_smile: