Generate url for dashboard of another panel

Hello, I'm in my 'admin' panel and i want to generate the url for the dashboard on my 'app' panel for an action button. I've tried...
Filament::getPanel('app')->getUrl()
Filament::getPanel('app')->getUrl()
but this is returning the current (admin) panel object. I'm getting... "http://filament3.test/admin" but i'm expecting "http://filament3.test/app" I thought i had seen this documented somewhere but now i cant find it. Am i close?
2 Replies
IM.UR.CITY
IM.UR.CITY16mo ago
For me, Filament::getPanel('app')->getUrl() retuns null
I solved the problem and I get a full url to the panel using: url(Filament::getPanel('app')->getPath())
Dennis Koch
Dennis Koch16mo ago
Where are you calling this? Might be too early.
Want results from more Discord servers?
Add your server