Activities of "nparejod"

  • ABP Framework version: v4.4.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hello,

I added a custom property to abpuser entity by followinf this link: https://community.abp.io/articles/how-to-add-custom-property-to-the-user-entity-6ggxiddr The name of the custom property is "CustomerId", I need to create a filter on entity "Customer" to show only records related to CustomerId of the current user.

I think this is a very commun request but I haven't figure out how to do this using abp commercial framework.

Is there a tutorial somewhere to do this?

Any help providing detailed information will be appreciated.

Thanks,

  • ABP Framework version: v4.4.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hello,

I am trying to implement Entity extention for abapusers as per: https://docs.abp.io/en/abp/4.4/Module-Entity-Extensions#module-entity-extensions

In Version 4.4.0, what would be the best approach to extract data from database and generate a list in json format to be used by the abp user form? I am trying to create a lookup field to pick customer ID.

An example implementation that returns a fixed list of departments (in real life, you get the list from a data source):

[Route("api/departments")]
public class DepartmentController : AbpController
{
    [HttpGet]
    public async Task<ListResultDto<DepartmentDto>> GetAsync()
    {
        return new ListResultDto<DepartmentDto>(
            new[]
            {
                new DepartmentDto
                {
                    Id = Guid.Parse("6267f0df-870f-4173-be44-d74b4b56d2bd"),
                    Name = "Human Resources"
                },
                new DepartmentDto
                {
                    Id = Guid.Parse("21c7b61f-330c-489e-8b8c-80e0a78a5cc5"),
                    Name = "Production"
                }
            }
        );
    }
}

The code above is hardcoded list of Departments, how can I get the same list of departments from a database?

Thanks,

Nestor

  • ABP Framework version: v4.4.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hello, My UI interface is Blazor. I need to create a dashboard with charts like the ones in the demo app: https://commercial-demo.abp.io/dashboard

What is the best approach to create dashboars in Blazor? Can you provide examples?

Thanks,

Nestor

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

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&lt;Guid&gt;, 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()
    {
        
    }
}
  • ABP Framework version: v4.4.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: 42703: column s.ActivationEndDate does not exist
  • Steps to reproduce the issue: Update from 4.3 to 4.4

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

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.

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

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

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

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,

Showing 1 to 7 of 7 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11