How can hide Show in Tree, Info, Share via Notifications Icons in Pimcore 6.5

Hi,

How can i hide the below icons. The highlighted icons in the attached screenshot.

  1. Show in Tree
  2. Info
  3. Share via Notifications

55

Hi, you can use instructions mentioned here https://pimcore.com/docs/6.x/Development_Documentation/Best_Practice/Adding_Button_To_Object_Editor.html and traverse object.toolbar.items.items to hide items. The only challenge is that there is no id for the buttons https://github.com/pimcore/pimcore/blob/0f26b1e0aec53cb109ea43ffac0fba152f769ad5/bundles/AdminBundle/Resources/public/js/pimcore/object/object.js#L489 so you have to match it somehow.