© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•6mo ago•
1 reply
schwartzmj

Get a record ID (from route?)

I'm trying to ensure all uploaded assets get tied to a specific model. Basically the entire app revolves around this model, every other form/field is a child of that model at some level.

I've tried creating a custom field for uploading these assets but I can't figure out how I would get the current route's parent model ID. It isn't always as simple as just $parent since we could be ON that parent or even 3 levels deep.
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

Get record ID after delete
FilamentFFilament / ❓┊help
2y ago
How to get record data or just id of a relation manager record.
FilamentFFilament / ❓┊help
3y ago
Get relationship Select record data from $get
FilamentFFilament / ❓┊help
3y ago
How to get record id in relation managers?
FilamentFFilament / ❓┊help
2y ago