Nova style relationship links on table builder

So i'm migrating an admin panel from nova to filament v3 and struggling to find the equivalent of novas relationship methods to provide a quick shortcut to a related resource - an example would be displaying the users name in a posts table and clicking on the name takes you to that user resource page. I can use column relationships to get the users name, or actions to provide a clickable link but is there out of the box functionality to combine these without having to revert to custom views etc?
3 Replies
Dan Harrin
Dan Harrin12mo ago
are you using the url() method on the text column?
yandos666
yandos666OP12mo ago
@Dan Harrin I was not! just taken a look and it seems like a good fit, thanks!
Dan Harrin
Dan Harrin12mo ago
url(fn ($record) => AnotherResource::getUrl('edit', ['record' => $record->relationname]))
Want results from more Discord servers?
Add your server