© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
Homd

Pass data into custom pages?

Hi I want to pass this $record data to my custom pages. How do I do it?

This is my code
                Tables\Actions\Action::make("See Student Progress")->label("See Student Progress")
                ->url(fn (Module $record) => ClassroomResource::getUrl('progress')),
            ])
                Tables\Actions\Action::make("See Student Progress")->label("See Student Progress")
                ->url(fn (Module $record) => ClassroomResource::getUrl('progress')),
            ])



class ProgressControl extends Page
{
    protected static string $resource = ClassroomResource::class;
    public Module $record;
    protected static string $view = 'filament.resources.classroom-resource.pages.progress-control';
}
class ProgressControl extends Page
{
    protected static string $resource = ClassroomResource::class;
    public Module $record;
    protected static string $view = 'filament.resources.classroom-resource.pages.progress-control';
}
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Passing data to custom pages
FilamentFFilament / ❓┊help
10mo ago
Integrating Custom Pages into Laravel Policies
FilamentFFilament / ❓┊help
3y ago
Pass data to widget from custom page
FilamentFFilament / ❓┊help
2y ago
pass data to widget from custom page
FilamentFFilament / ❓┊help
3y ago