Open Closed

Entity History & Change Details Modal #152


User avatar
0
ididsbury created

Hi,

Is it possible to reutilise the new Entity History / Change Details modal for showing change to custom (none Abp entities)? If so, can you please describe how I can call / show the modal in a MVC application.

Note that I have enabled entity history for all entities using the below:

            Configure<AbpAuditingOptions>(options =>
            {
                options.EntityHistorySelectors.AddAllEntities();
            });
            

Entity history is correctly being logged for Abp and custom entities. I would like to utilise the same modal for showing history for custom entities.

Thanks

Ian

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

4 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    do you want to open change details modal for your new entity?

    did you check the docs if it helps https://docs.abp.io/en/commercial/latest/modules/audit-logging

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ididsbury created

    Hi,

    Yes. I'd like to open the change details modal for a new entity. The docs don't describe how to do this. Note that I can open the modal via the audit logging page for my new entity however I'd like to add a command on my custom page to open up the modal.

    Opening the modal from an actions menu (on the Tenant Entity) is shown on in the recent ABP 2.7 blog post. I'd like to do something similar for my new Entity.

    Note that I'm using MVC.

    Any help appreciated.

    Thanks

    Ian

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    alper created
    Support Team Director

    How to show entity change history on a new entity in ABP MVC? https://gist.github.com/ebicoglu/e14de3f18a18242e38e17eccf41c0c6d

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ididsbury created

    Perfect. Thanks very much.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.