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.
0 Replies