Passing data to create page and filling form
Hi
I have a relation manager (manages EventInstances on a EventResource) with a custom action in the header. My goal is to:
How can I access the data on the create page? I have a property called $ownerRecord, but it only returns null.
P.S. I know a modal would probably be easier, but I perfer to open the form in a full page.
I have a relation manager (manages EventInstances on a EventResource) with a custom action in the header. My goal is to:
- Redirect the user to the create page of the EventInstanceResource
- Pass the owner record to the redirected page
- Fill a few form fields with data passed in the action
How can I access the data on the create page? I have a property called $ownerRecord, but it only returns null.
P.S. I know a modal would probably be easier, but I perfer to open the form in a full page.