You will have to extend frappe.views.Workspace class located at “frappe/public/js/frappe/views/workspace/workspace.js”. Inside that you will be able to see a method setup_pages extend that do a super call and write a button (Reference you will find inside that file only)
ok.can i show this button globally?if yes how to do