Redirect Resource Model to view page instead of list
I wonder if its possible to redirect the Resource Model to view page instead of the list page
I have a Resource that is restricted to only show the information of the currently logged user
But in order to see the information I have to click the view Action on the table
What I want to do is if the user has a role of 'student' redirect the user to view page right away when the resource on the side bar is clicked.
Solution:Jump to solution
Yes. Create a custom page and just follow the Form docs for integrating with a Livewire component. As long as you don't need relation managers that would probably be the cleaner solution
4 Replies
You can overwrite
getNavigationItems()
on the resource. But maybe a single page with an infolist would be better suited instead of a whole resourceThanks! By a single page with an infolist do you mean a custom page with infolist right? If so how can I do that?
Solution
Yes. Create a custom page and just follow the Form docs for integrating with a Livewire component. As long as you don't need relation managers that would probably be the cleaner solution