neverything
Import CSV with array column and urls with commas
I was wondering if there is a way to pre-check the CSV similar to how Shopify does is with user imports. I have a user that has as CSV column that contains a list of urls, separated with a comma, which works perfectly fine, unless the urls contain commas.
The column in questions can look something like this in the raw CSV:
"https://www.example.ch/media/2gqo4z3g/1189766387_ret.jpg?rxy=0.4613560813453266,0.38044619707701444&width=1230&height=820&format=webp&quality=80,https://www.example.ch/media/2gqo4z3g/1189766111_ret.jpg?rxy=0.4613560813453266,0.38044619707701444&width=1230&height=820&format=webp&quality=80"
Ideas on how to handle this:
* Custom validation rule for the ImportColumn
* Cast the state differently4 replies
Is there a way to get the current tenant in isTenantSubscriptionRequired()?
For a Resource in the Panel, I need to get the current tenant and when implementing
isTenantSubscriptionRequired(Panel $panel)
using Filament::getTenant()
returns null. Is there a way to get the current tenant from the $panel
passed to the method in the Resource?5 replies
Question about tenants with jetstream teams and multiple resources
What I am trying to do:
I'm in the process of refactoring a Livewire 3 app into Filament. I used jetstream teams, but removed the personal teams. Every team can have multiple catalogs which contain products, links and exports (which would be the resources) related to the catalog.
My questions:
- How do I setup the multi-tenancy: Should it be based on teams or catalogs?
- Is it possible to have "sub-resources" when I'm in a specific catalog?
29 replies