Importing from .CSV file in Multi Tenancy

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Nick26
Posts: 27
Joined: Fri Aug 07, 2020 6:59 am
Location: Melbourne, Australia

Importing from .CSV file in Multi Tenancy

Post by Nick26 »

Importing records from a .CSV file into my application, but upon import the rule Staff.Comapny=LoggedInRegularUser.Company doesn't work. Therefore, the records don't have any company assigned and my READ PROTECT rules hide the imported data.

Is there a way to assign the LoggedInRegularUser.Company as the .CSV records are imported? A work around is putting the company name in the .CSV and importing as a relationship, but leaves room for error.
kklosson
Posts: 1617
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Re: Importing from .CSV file in Multi Tenancy

Post by kklosson »

I do this with a rule on the BO being imported. DM me if you want to get into it.
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
Post Reply