Attività di "ninomartini"

  • ABP Framework version: v8.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Auth Server Separated (for Angular)

Hello,

I defined an ENUM as an extra property for the user entity as follows.

OneTimeRunner.Run(() =>
{
    ObjectExtensionManager.Instance.Modules()
        .ConfigureIdentity(identity =>
        {
            identity.ConfigureUser(user =>
            {
                user.AddOrUpdateProperty<UserType>("UserType", property =>
                {
                    property.DisplayName = LocalizableString.Create<RxPortalResource>("::UserType");
                    property.Attributes.Add(new RequiredAttribute());
                    property.Configuration[IdentityModuleExtensionConsts.ConfigurationNames.AllowUserToEdit] = false;
                });
            });
        });
});

I want this extra property visible on the user administration user table and dialog box but not visible from the user’s personal information section. However, I am seeing this property in the user’s personal information section.

Is IdentityModuleExtensionConsts.ConfigurationNames.AllowUserToEdit only supported for Blazor? How would I accomplish this in Angular?

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): No

I am trying to get my Angular UI to set the tenant based on the subdomain. I modified the enviroment.prod.ts file to include a baseUrl.

export const environment = {
  //...
  application: {
    baseUrl: 'https://{0}.mydomain.com/'
  },
  //...
}

I also tried with and without the following tenant resolver in the Host project:

Configure<AbpTenantResolveOptions>(options =>
{
    options.TenantResolvers.Insert(1, new DomainTenantResolveContributor("{0}.mydomain.com"));
});
  • ABP Framework version: v3.04
  • UI type: Angular

I can't figure out how to use two or more ngx-datatables on the same page using the ListService.

Table 1: ngx-datatable [rows]="data.items" [count]="data.totalCount" [list]="list" default>

Table 2: <ngx-datatable [rows]="dataMessages.items" [count]="dataMessages.totalCount" [list]="list" default>

Going to page 2 on one table causes the other table to also go to page two. How do I break this synchronization?

ABP Framework version: v2.9 UI type: Angular Tiered (MVC) or Identity Server Seperated (Angular): no

I have a console application that needs to modify records accross multiple tenants. The console application uses the host admin credentials. I tested out the code below without success:

using (_dataFilter.Disable<IMultiTenant>())
{
    var unit = await _unitAppService.GetAsync(Guid.Parse("ED9D4AC2-BC3F-1FA4-71D6-39F5F9048F20"));
    Console.WriteLine(unit.UniqueIdentifier);
}

I get the following error:

**Volo.Abp.Http.Client.AbpRemoteCallException: 'There is no entity Unit with id = ed9d4ac2-bc3f-1fa4-71d6-39f5f9048f20!'**

If I change the console application to the tenant's credentials and use ICurrentTenant to change the tenant I can find the record.

Any thoughts on what I am doing wrong?

  • ABP Framework version: v2.9.0

Would you please provide guidance on why I am unable to install ABP Suite v2.9.0. Here are the steps taken:

Step 1: dotnet tool install -g volo.abp.cli (Success)

Step 2: abp login <username> -p <password> (Success)

Step 3: abp suite install (Error below)

Thank you in advance

1 - 5 di 5
Made with ❤️ on ABP v8.2.0-preview Updated on marzo 25, 2024, 15:11