Starts in:
2 DAYS
8 HRS
20 MIN
55 SEC
Starts in:
2 D
8 H
20 M
55 S

Activities of "thanhlg"

  • ABP Framework version: v8.3.0
  • UI Type: Blazor Web App
  • Database System: EF Core (PostgreSQL)

Hi Support Team,

I'm using the Module Template and Application Template (Blazor Web App).

I'm using the Distributed Event Bus with RabbitMQ to send communication between the IN and GL modules. Afterward, I build the IN and GL modules into packages and install them into the Main (Blazor Web App).

Currently, I want to integrate SignalR to receive notifications when the event bus processing is completed and display a notification on the user interface to indicate that the processing is done. I need the notification (https://abp.io/docs/latest/framework/ui/blazor/notification) to appear on the user's screen, regardless of which screen they are currently viewing, not just on the screen where the event was initiated.

For example, if the event is triggered on screen A, but while it is processing I navigate to screen B, I want the notification to show up on screen B if it is completed at that time. How should I do it?

I look forward to your response. Thanks!

  • ABP Framework version: v8.2.0
  • UI Type: Blazor Web App
  • Database System: EF Core (PostgreSQL)

Hi Support Team,

  1. Issue with language switching: Sometimes it works well, but other times it doesn't. How can I control this?

For example, the website is in English, and I switch to Vietnamese. Instead of switching immediately, it reloads and still stays in English. I have to log out, log back in, and switch again for it to change to Vietnamese.

  1. Blazor Web App page loading speed: After logging in, when the menu is displayed, I select a screen to open, but it redirects to the homepage instead of opening the screen. I have to click again to access the desired screen.

Looking forward to your response soon. Thanks

  • ABP Framework version: v8.2.0
  • UI Type: Blazor Web App
  • Database System: EF Core (SQL Server)

Hi Support Team,

I want to allow login only with a Microsoft account where the email exists in my Person table, rather than logging in with accounts from the AbpUser table. When logging in, the system should check if the email exists in my Person table. If it does, the user should be logged in; if not, an error message should be displayed. What can I do to achieve this in a Blazor Web App?

And I want to log in with Microsoft directly from this page

Thanks

Hi ABP Team,

After upgrading to version 8.2.0, I encountered an error as shown in the image. When using version 8.1.3, Hangfire works fine without that error. Could you please help me check it?

Check the docs before asking a question: https://docs.abp.io/en/abp/latest/Local-Event-Bus

  • ABP Framework version: v8.1.3
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL)
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi Support Team,

I have created a new table called Company. I want to sync data from the Company table to the Organization Unit table using ILocalEventHandler when creating new entries, but it's not working because the properties Id, Code and ParentId are internal set. How can I add new data to the Organization Unit table?

Company => Organization Unit Organization Unit => Company

  • ABP Framework version: v8.0.2
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL)
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi Support Teams,

I want to customize the user interface of the User screen as follows:

  1. Add a new tab when creating or editing a User. How can I add new fields for the User in the new tab? For example, in the new tab, I want to include additional information for the User such as Code, Address, Manager...
  2. Change the interface to be in the form of an EditForm like this image instead of opening a Popup.

Check the docs before asking a question: How to use extended field query in EF query?, [Filter User list by new extra property #784](https://support.abp.io/QA/Questions/784/Filter-User-list-by-new-extra-property), How to add custom property to the user entity,Module Entity Extensions | Documentation Center | ABP.IO ...

  • ABP Framework version: v8.0.2
  • UI Type: Blazor WASM / Blazor Server
  • Database System: EF Core (PostgreSQL)

Hi Support Teams,

I have two questions:

  1. Is there a way to use ScreenUrl within ExtraProperties instead of creating an additional ScreenUrl column and using EF.Property(u, "ScreenUrl") to write the query statement?

Below is my code.

2. How can I add `context.GetHttpContext().Request.Headers["screen-url"]` to the `ScreenUrl` column in `EntityChanges`? Currently, when I run it, it only adds it to the `ScreenUrl` in `ExtraProperties` but doesn't save it to the newly added `ScreenUrl` column.

public class ExtendedAuditLogContributor : AuditLogContributor
{
    public override void PreContribute(AuditLogContributionContext context)
    {  
        context.AuditInfo.SetProperty(
        "ScreenUrl",
            context.GetHttpContext().Request.Headers["screen-url"]
        );

    }

    public override void PostContribute(AuditLogContributionContext context)
    {
        var currentUser = context.ServiceProvider.GetRequiredService<ICurrentUser>();
         
        foreach (var change in context.AuditInfo.EntityChanges)
        {
            change.SetProperty(
            "ScreenUrl",
            context.GetHttpContext().Request.Headers["screen-url"]);

            change.SetProperty(
            "UserId", currentUser.Id); 
        }
    }
}

Hi Abp Support Team, How can I retrieve more than 1000 records with MaxResultCount and... I added ScreenUrl to AuditLogs like this: I want to add ScreenUrl and CurrentUser.Id to EntityChanges. How can I do that? Is there any way to retrieve multiple EntityIds on the same page? For example, I have a Customer page. The page has one EntityId of the Customer table, which I have set as DocId in the code. Inside the page, I have a grid that stores data for the CustomerABC table, which will have another EntityId. I have added ScreenUrl to AuditLogs to retrieve the information of the page where the changes were made, but when there are more than 1000 records, retrieving the data is not accurate. I have switched to filtering EntityIds based on the DocId of the currently opened page to narrow down the data. However, using this approach, if the page contains child tables with different entities, I cannot retrieve the data of those tables. Could you provide an example of how to handle this request? Thanks,

Check the docs before asking a question: https://docs.abp.io/en/abp/latest/Module-Entity-Extensions , https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Extending-Entities , https://docs.abp.io/en/abp/latest/Entities, modules/file management | Documentation Center | ABP.IO

  • ABP Framework version: 7.3.2
  • TemplateType: Module Template (ABP Suite)
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL)

I'm using File Management Module to get Upload methods in another page and I am also using ExtraProperties to add DocId and Url properties to FMFileDescriptor table. I tried for IdentityUser and it works fine, but File Management doesn't.

How can I use Extended Entities for File Management Module and refer to a specific property and it's value in the .ExtraProperties collection and place it in my UI individually?

Thanks

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