Starts in:
1 DAY
19 HRS
56 MIN
30 SEC
Starts in:
1 D
19 H
56 M
30 S

Activities of "Spospisil"

@gterdem

Is there a way to programitically set the abp.apppath?

Any update for this?

By the way, when I log in as a Host user I do not get an error. It's only when I log in as a Tenant user.

At the top of the DBContext class are the following class attributes which were put there by the generated ABP solution. With all the ABP module tables being in the one Host DB do I need to also put attribute lines in for each DBContext interface's from all the other modules as well?

[ReplaceDbContext(typeof(IIdentityProDbContext))]
[ReplaceDbContext(typeof(ISaasDbContext))]
[ConnectionStringName("Default")]
  • ABP Framework version: v4.4.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered
  • Steps to reproduce the issue:"

We have a Host DB that has all the Identity Server/Sass and CMS related tables. Each tennat has their own DB as specified in the TenantConnectionStrings table but we do not want the Users table in the Tenant DB. In the main DB context class of my project I have specified this setup with the following code.

However, when I log in via the Web Application as a Tenant user I get an error indicating that there is 'no relation to the users table'. I have stepped through the code and the logic to log into and set everything accordinly is working fine and against the users table in the host db (which has all users across all tenants) and is verified by a successful login result in the code. But there is some other logic somewhere that seems to be looking for the Users table in the Tenant DB which is why I believe I'm getting the error.

Can you tell me the best way to implement the configuration of having all these core tables in the Host DB and only Tenant specific tables (our application tables) in the individual tenant DB's?

Thanks.

  • ABP Framework version: v4.4.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

When I add a new Tenant via the Saas module and unclick the 'use the shard database' checkbox and specify a connection string and click Save I get the following error.

The connection string does get saved to the TenantConnectionStrings table, but it is not creating the Tenant DB on fly. Nothing is being logged to any of the logs and the browser tools do not show any obvious errors. Is there a way for me to troubleshoot this further? Perhaps a way to see all errors that are happening so I can figure out why this is not working.

This below link in the documentation ended up being the solution I went with to display a list of tenant users based on the selected tenant in the screenshots tenant dropdown.

https://docs.abp.io/en/abp/latest/Multi-Tenancy#change-the-current-tenant

Hi,

Yes I need a way to take the tenant guid value as selected by the dropdown (highlighted in red) and have the list of users for that tenant display in the list. However, I would like to use the IdentityUserAppService (Volo.Abp.Identity.Pro.Application project) or extend this class and/or it's existing UserRepository to select users from the underlying database that are for the selected tenant

Screenshot included

  • ABP Framework version: v4.4.2
  • UI type:MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

We have the pro modules and are using Identity-Pro to maintain the list of users. The problem is that ABP out of the box requires you to be logged in as a user for a given tenant to create additional non admin users for that tenant.

Our model is we will have a system admin that will create users for each tenant, so we'll use the 'users' list page and have a tenant selector in that page's menu (next to the add user button) and then select a tenant from it and have is display all the users for the selected tenant and also pass the selected tenant to the add user model box (UI) for the given selected tenant.

I have been able to add a 'tenant dropdown' selector the the user's page menu and have created a controller to return an object from javascript with the 'filter' and 'selected tenant' values and pass to the controller, however I now need a repositiory routine to only give me a list of the tenants for the passed in tenant guid.

What is the best way to implement this without creating my own repository class that the controller uses to get the expected results?

  • ABP Framework version: v4.4.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I have a custom ABP application service derived from ApplicationService. Within my Javascript for the html page I would like to refer to this service in much the same way that is being done in the Volo.Abp.Identity.pro.Web project on the users list page. How can I set a variable to my service in the javascript code much like is being done in the screenshot below?

Showing 231 to 240 of 280 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06