Ok, so my SQL stuff as related in a previous help was all on my end, not Radzen. Anyway, I have a multi-tenant setup and I need to add animals to a specific tenant only. So, what I'm trying to do is if the user is in Tenant1, then the "select organization drop down" should be disable and defaulted to the name of the organization to which they belong. Currently it appears as if the user can select any organization they would like and that's a bad thing. I really wanted to make a relationship from the Organizations to Tenants, however, that would be a 1:1 and not sure I can do that. But your guidance will be appreciated. I've attached a screenshot of where I'm at currently.
Hi,
Have you activated multi-tenancy as mentioned here
Multi-tenancy | Blazor (Blazor) (radzen.com)
@Vinod_Pillai yes I have activated as instructions state.
This option implements data-isolation based on the tenant-id. Each tenant is isloated by the url used to login ex: tenant1.radzen-rocks.com url will filter all user data for tenant1. You will get the current tenant-id in ${Security.User.TenantId} using this you may apply the required filter to your dropdown or set default value .
Copy that. Thank you, sir, for your support and assistance. @Vinod_Pillai my apologies for not understanding this. I thought that I did. I'm not sure how to apply this filtering on the Organization dropdown.
You may apply filters to getOrganizations in the Invoke datasource method from query builder
Query builder (Blazor) (radzen.com)