Remove/Hide Edit button on subpanel through codes not studio

Any idea how to remove the Edit and Remove button on the subpanel through custom codes?

Try looking for the code in:

Custom/modules//metadata/subpanels/.php

Nice… Thanksss!

Hello,
How can we unset edit and remove buttons on conditions? any idea?

Hi,

If you want to unset the edit and remove buttons from the subpanel based on the Users or Roles.

Please check the below link:-

https://store.outrightcrm.com/product/suitecrm-global-hide-manager/

Thank You!

Hello suite developers,
I have solve this by upgrade “include\generic\SugarWidgets\SugarWidgetSubPanelEditButton.php” in custom include folder and you can add any condition you want.

Enjoy coding…