I'm trying to add a custom action to the edit form of items in a gridfield.
I have tried using getCMSActions() on the displayed data object without any luck. It seems that it is not calling that function when its generating the cms page.
I have also tried adding the custom action to the gridfield but with no success either. I'm fairly new to silverstripe and any help would be appreciated.
Thanks