Activities of "lalitChougule"

I want to create a user from my custom appService i.e I just want to call create() method of UserAppService from my custom appService. Which Interface do I have to inject in my appService ?

Hi

Suppose this is my DTO

public class AnyDto
{
    [Required(ErrorMessage="Name is required")]
    public string Name { get; set;}
}

Or suppose this is my Validator Class

public class AnyDtoValidator : AbstractValidator<AnyDto>
    {
        public AnyDtoValidator()
        {
            RuleFor(x => x.Name).NotNull().WithMessage("Name is required");
        }
    }

I want to localize my errror message which is Name is required. How do I do it ?

Kindly provide solution in both cases DTO/Fluent Validators

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: v2.7.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no / Yes
  • Exception message and stack trace: N.A
  • Steps to reproduce the issue: N.A

Hi,

I need to know how the record get inserted into AbpAuditLogs and AbpAuditLogActions as I want to implement a bit customized logging of my own. How can I implement the same for my own tables or you can say I just want to insert only few Http Status code related data to my own custom table.

How can I do it ?

  • ABP Framework version: v2.7.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no / Yes
  • Exception message and stack trace: User name '里约' is invalid, can only contain letters or digits.
  • Steps to reproduce the issue: Create User as per screenshot attached

I want to create user by providing chinese character as input but came accross this error

How do I set rule to allow chinese letters ?

  • ABP Framework version: v2.7.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:N.A
  • Steps to reproduce the issue:N.A

What I have now : I have a table which contains name of the countries e.g.

1. India
2. China
3. Russia
4. ...

This data comes from the database which is stored in english and is displayed in one of my form through dropdown

What I want to achieve : If my user changes the language to chinese from the language dropdown I want to show him the converted text i.e.

1. 印度
2. 中国
3. 俄国
4. ...

All my data in database is stored in English I want to display that data as per the language selected by the user Is there a way to achieve this ?

Question
  • ABP Framework version: v2.7.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no / yes
  • Exception message and stack trace: N.A
  • Steps to reproduce the issue: N.A

Hi,

I have few set of forms which I want to show to a specific tenant but it should not be visible for my other tenants. I can achieve this by roles and permissions etc. But my question here is : Is there any other way to implement this with some multi-tenancy feature , if it's available ? Like tenancy based menu or something...

Thank you

Posting this issue on behalf of my team member. He is unable to access his abp.io commercial account.

We used "Forget password" option and received a mail but its not opening in my outlook. He marked it as "Not Junk" still not able to see the link. He used outlook in web and got the link but again its not opening. Also, Tried to remove the cache from browser, still link is not working.

The url looks like following: "http://r.announcement.aspnetzero.com/tr/cl/<encrypted string>"

Please guide me to reset the password or How can we reach to abp.io for this urgent issue. The mail received looks like this :

  • ABP Framework version: v2.7.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no / yes
  • Exception message and stack trace:N.A
  • Steps to reproduce the issue:N.A

Hi,

I am trying to use CurrentUser by using Abp functionality
Volo.Abp.Users.ICurrentUser Volo.Abp.Application.Services.ApplicationService.CurrentUser{get;}

I am not able to get CurrentUser details Please find my code below for reference :

public virtual async Task<SomeDto> GetDetailsByUserId()
{
    var CurrentId = CurrentUser.Id;
    var SomeId = _someRepository.Where(x => x.UserId == CurrentId)
                        .Select(x => x.someData).FirstOrDefault();

    return _someOtherRepository.Where(x => x.SomeId == SomeId).Select(x => x.SomeCode).ToList();
}

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: v3.0.4
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no / Yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

As per this document can we use chart.js in abp ? https://docs.abp.io/en/commercial/latest/startup-templates/application/solution-structure#depended-packages

I am not able to find any document to implement chart.js in abp angular Can you please guide me how to do it ?

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace: I am usinig ABP ApplicationLayoutComponent, By default logout functionality working fine.. Now I have a requirement that need to do some funactionality on logout , So without component replacement Is it possible ?. If yes please provide steps . I did not find it in the documentaions.
  • Steps to reproduce the issue:
Zobrazeno od 1 do 10 z celkem 47 záznamů
Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11