How to get record model in ViewRecord action?

Hi! I'm trying to get the Model of the record in the getActions() function in the ViewRecord page. Is there a way to achieve this? I'm trying to make an action with a url that is dependent on a field of the model.
Was this page helpful?