Aktivity „abpVAndy“

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

The suite shows it created angular ui successfully. But I cannot see them in the code.

Volo.Abp.Cli && abp suite both are 4.20

Thanks!

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

When Create new tenant: String extend property works. but enum does not work. UI datatable list works: getlist from db also works and show in the UI. Check image below.

error: Invalid cast from 'System.Int64' to 'xxx.TenantType'. System.InvalidCastException: Invalid cast from 'System.Int64' to 'xxx.TenantType'.

Question 1:

The class tenant does not have Navigation property: public virtual Edition Edition { get; set; } So this is the limitation for the different commercial level? Thanks

but default could get edition navigation property.

Question 2: I see the sendtoken and confirm for the phone login.

But commercial do not have phone registration. Right? So we have to implement by ourself. Right?

thx

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

Is there any way I could new user only with Username and Password? UI and back code. I donot need email when new user.

I check Volo.Abp.Identity, and see the [Required] in here: IdentityUserCreateOrUpdateDtoBase

Thanks

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

Hi,

I created navigation property by abp suite. It created additional entity named: xxxWithNavigationProperties

I have some confusion about it. Why use this way for navigation property? Why not use as commercial examples: easy-crm

public class Order : FullAuditedAggregateRoot<Guid>, IMultiTenant
{ 
    public virtual ICollection<OrderLine> OrderLines { get; set; }
}

public class OrderLine : FullAuditedEntity<Guid>, IMultiTenant
{ 
    public virtual Product Product { get; set; }
}

Could you please give me some hint or idea? Where I could get the introduction or information about it? As I see the source code related to navigation property, all use as easy-crm way.

Thx

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

First, I need Multi-Tenancy. So I would not Disable it. I would assign customer tenant by code. Similar like this:https://github.com/abpframework/abp-samples/tree/master/SignInWithoutSpecifyingTenant

Question: How to hide the tenant switch from login page? Only hide UI.

I seach code, it seems should change from Account.cshtml in Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic But I donot have the commercial source code for that.

Could you please give me some ideas or hint for that?

Thx

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

I have two question about the register.

Question 1, Is it the default by ABP Vnext? Confirm email/phone after register successfully. I see the default setting is here

  1. I use the abp suite to creat application template

  2. Run angular client and public client, go to login, all login successfully and logout.

  3. go to login page again, click the "Register" button to register new user

  4. it was register successfully, but it ask me to confirm email/phone

    And here is the link after register successfully:

https://localhost:44396/Account/ConfirmUser?returnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fresponse_type%3Dcode%26client_id%3Dlogintestregister_App%26state%3DfmktVXFTTXBXUlZLX2tFcGhNMUhVeWFfdXZDQXhXcWNDamZCWU9lX2hkYnpE%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A4200%26scope%3Doffline_access%2520openid%2520profile%2520role%2520email%2520phone%2520logintestregister%26code_challenge%3Do1RYIRbclZDZwJq-ylzZ42vu4yPav5Kxu180bF0ORcc%26code_challenge_method%3DS256%26nonce%3DfmktVXFTTXBXUlZLX2tFcGhNMUhVeWFfdXZDQXhXcWNDamZCWU9lX2hkYnpE

Question 2: Could I remove the confirm option after customer register successfully? How could I do for it? Or do we have any other option for the register successfully? Other pages? I do not want only stay the confirm page after register.

Thx

ABP Framework version: v4.3.3 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes

With suite, I create some entity and angular CRUD UI. All works. Now, I need to add some DTO and Api, which are special, and need I manually to add them.

My question is: How should I create DTO Model and Api in the Angular Part?

I try to use Cli "abp generate-proxy", it seems work for it. But I see the code created by Suite and Cli are different.

Test: I use suite to create entity "Order" and "OrderItem" for both backend and frontend (Angular), all works. Then, I use Cli "abp generate-proxy" to do one more time. the code are different. But all works.

So I worry about, if I use suite to create most my code. And I need to manually add DTO and Api, with Cli, they are different.

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

Could you please give me more ideas/examples how to create the relationship for different Modules. It will not hard if in same module. But for the different module, the class has to use other module's class, which will cause some issues.

Thanks,

Scenario: I use suite to create two Module template: 1, CategoryCenter, 2, ProductCenter

In CategoryCenter, I have two aggregate: Brand, and CategoryEnd. In ProductCenter, I have one aggregate: Product.

Product could have many brand, so it was M:M relationship. product could have many category, so it was M:M relationship.

I follow the OrganizationUnit of Identity to create the relationship for them.

So, in productcenter, I create two entity: ProductBrand, ProductCategory which is the other tables. And I add them into product aggregate, see below picture.

And In ProductCenterDbContextModelCreatingExtensions, I configure like OrganizationUnit of Identity. see below picutures.

When I execute: add-migration ..... it has below error: The property 'Brand.ExtraProperties' could not be mapped because it is of type 'ExtraPropertyDictionary', which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.

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

I need to use "Cascader" and "multiple select" component in our product, angular UI. I want to use Cascader and select of NG-ZORRO. I try to add them into pages (create by suite), it does not work.

1, I try to add them directly into pages create by suite, it does not work. 2, So I try to only use NG-ZORRO component into blank page, it still not work.

More Questions 1, How about PrimeNG Component, Can we use PrimeNG Component into pages created by suite directly? 2, Do you have any other solutions for "Cascader" and "multiple select" component in Angular UI?

Thanks,

Zobrazených 1 až 10 z 24 záznamov
Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11