Reusing a Page

I have created a custom page that I've been trying to make reusable. So based on one of the tables in my database, I want to have multiples of that page show up in the navigation for each entry for a particular user. I've had a look through the documentation quite thoroughly and there doesn't seem to be anything about being able to reuse the same custom page multiple times. Wondering if anyone had any ideas on how to get this to work?
Solution:
getNavigationItems() sounds like a good solutions to this
Jump to solution
2 Replies
greenrae94
greenrae943mo ago
I believe I have found the solution right after posting this. I stumbled upon a method called getNavigationItems() along with Filament/Navigation/NavigationItem which has allowed me to make a bunch of pages based off of database rows from my table. I couldn't find anything about this in the docs.
Solution
Dennis Koch
Dennis Koch3mo ago
getNavigationItems() sounds like a good solutions to this
Want results from more Discord servers?
Add your server