Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

laracoft's avatar

Creating child records in Filament v3

  1. I have a multitenant project where each customer have their own backend hosted on their own domain.
  2. Thus in each of their backend, I have a orders filament resource and Create new orders button
  3. How can I get Filament to automatically associate the new orders that are being created to the customer?
0 likes
3 replies
jlrdw's avatar

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.

laracoft's avatar

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.