#Importer Multi-Tenancy

7 messages · Page 1 of 1 (latest)

dense terrace
#

Hi, everybody!

I just have a simple question for the Prebuilt Import Action.
How do i access the tenant, in the importer. I tied with boot method, tried with filament()->getTenant() in the resolveRecord(), but it did't work.

Thanks in advance!

solar basinBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

torn ridge
dense terrace
#

Hi, @torn ridge. Thanks for the answer. Yeah i tried with constructor, but i'am getting this error.

torn ridge
#

The error explains it 😉 You set it as static but are not calling it statically.

remove static from it.

dense terrace
#

Oh, yeah. Sorry, did not catch that. It worked, thank you so much!