Creating child records in Filament v3
- I have a multitenant project where each
customer have their own backend hosted on their own domain.
- Thus in each of their backend, I have a
orders filament resource and Create new orders button
- How can I get Filament to automatically associate the new orders that are being created to the
customer?
Are you identifying the tenant with some sort of prefix?
And just curious how are tenants involved with Filament, I thought it was an admin panel, meaning for you the developer.
I take it that the tenants also have Filament front end usage.
But a prefix associating them with the tenant is used in many cases. Or suffix, however the setup is.
Edit:
Or each tenant has a unique id assigned.
I'm not utilizing filament's tenancy because it is primarily a backend package while I also have to address my other frontends.
Perhaps a better way to rephrase my question is, during the CREATE, is there a way to intercept and provide additional keys/data?
Please or to participate in this conversation.