If you look at the layout defs of your subpanel you will see the definitions for the edit and remove buttons. I am looking at custom/modules/Contacts/metadata/subpanels/Account_subpanel_contacts.php
Widget classes are contained in : include/generic/SugarWidgets. But what you want to do is create your own widget class in custom/include/generic/SugarWidgets
If you inspect the actual edit button you will see a link similar to the following :
What you need to do is create your definition in the subpanel layout defs that points to your own custom widget class that adds a link to your custom action in a similar manner to the above link.
mmm…i’ve tried with no luck…
till now i was able to change only the button name…
What i need to do is to create a custom button called “Hook shipment” that can open a popup view and relate the field to my shipment module…once dne it should refresh and update me the field value visible in the subpanel list view…