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.
No description
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
Jump to solution
4 Replies
Dennis Koch
Dennis Koch2w ago
You can overwrite getNavigationItems() on the resource. But maybe a single page with an infolist would be better suited instead of a whole resource
Markufu
MarkufuOP2w ago
Thanks! By a single page with an infolist do you mean a custom page with infolist right? If so how can I do that?
Solution
Dennis Koch
Dennis Koch2w ago
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

Did you find this page helpful?