Hello, I know this is an silly question, it is my first time using ABP Framework. I was able to succesfully create a new solution by completying the "Getting Started" steps but I can't find a way to use Multi-tenancy. I already created 2 tenants in host (option SaaS/Tenants), I am planning to create 2 schemas in one Postgres database, one for each tenant but don't know how to create users for those tenants. I have been readying the documentation but I don't find any clear information to setup tenants, regenerate tables inside tenants and create users for tenants Could you please advise or point me to any documentation I can follow? I already expent 3 days trying to figure out this.
Any help will be appreciated.
Thanks,
Thanks liangshiwei, the problem was I couldn't log in into a tentan but I figued out, I changed admin passwordHash in table AbpUsers.
Do users need to select a tenat all the time they want to log in? Is there a way for user to login to the assigned tenant seamless without selecting a tenant?
Thanks.
Hello,
I have the same issue.
What would it be the workaround at this moment if we need to add a new field to the AbpUser table using Blazor?
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
Hello,
Using Blazor UI, I am having issue traying to show a dollar sign ($) in front of a monetary value:
<Field Style="text-align:right">@TotalCategory1.ToString("C0")</Field>
Currently, the value is showing this currency sign: ¤45,256
I am expecting this: $45,256
Any help fixing this issu will be appreciated.
Thanks,
Nestor
Hello, Does ABP framework have a mechanism to define the culture at the tenant lavel? I don't want to hardcode the culture code "en-us" in every single line of code that needs to show the dollar sign. Would it be possible setup a global/tenant culture variable?
Thanks,
Nestor
I just updated my project from Framework 4.3 to 4.4.0 as per this instructions: https://blog.abp.io/abp/ABP.IO-Platform-4.4-Final-Has-Been-Released!
Now, when I try to execute the app, all I see is this message: 42703: column s.ActivationEndDate does not exist
Please help.
Nestor
After adding the migration, it is workign fine! Thanks for your help.
Hello,
I just added a new property (CustomerId) to AbpUser class. But what I really need is a Navigation property in AbpUser to pick up customers in my Customer table. What is the best way to do that in ABP?
public class AppUser : FullAuditedAggregateRoot<Guid>, IUser
{
public virtual Guid? TenantId { get; private set; }
public virtual string UserName { get; private set; }
public virtual string Name { get; private set; }
public virtual string Surname { get; private set; }
public virtual string Email { get; private set; }
public virtual bool EmailConfirmed { get; private set; }
public virtual string PhoneNumber { get; private set; }
public virtual bool PhoneNumberConfirmed { get; private set; }
**public virtual Guid? CustomerId { get; protected set; }**
private AppUser()
{
}
}
Thanks for your help. Second link worked for me. I have one more question: Will the new field "CustomerId" be available in current user information? https://docs.abp.io/en/abp/latest/CurrentUser
I need to create a filter with that field to be applied to Customer entity, so I need the field to be extracted from CurrenUser, is that possible?
Thanks,
Nestor