How to add a ViewPage in index

Like profile page of the user, I want to show the user login profile view page in a resource index page ? Any suggestion how? Generally a view page required a record but i want to pass the auth() ->user() ->id there but it doesn't work
3 Replies
tuto1902
tuto19028mo ago
I remember trying to do this. I think the panel builder offers a [customizable] user profile page for this purpose. Using the ->profile() method in the panel configuration https://filamentphp.com/docs/3.x/panels/users#authentication-features
AliBabba420
AliBabba4208mo ago
Bro i want it as a view and edit only of that user whic is login and i got the edit but how to get the user view page and one more thing i need the resource so i trying to do that in my custom resouce
tuto1902
tuto19028mo ago
Ah, gotcha. Allow me some time to see what I can find.