Starts in:
2 DAYS
7 HRS
7 MIN
17 SEC
Starts in:
2 D
7 H
7 M
17 S
Open Closed

File Management Module customization UI - #2146


User avatar
0
cleverplatform created

I want to use existing File Management Module UI as a part Modal window with possible selection one File to store to parent entity. How catch frontend events or how add new actions methods to files grid. How access to File Management module and display on Modal window.

It is possible to do it with reusing existing parts? or should I build my own File Management frontend to support that rather.

thanks Erik

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.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v4.4.4
  • UI type: MVC
  • DB provider: EF Core
  • **Tiered (MVC) : yes

3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can try:

    $.ajax({
       url: "/FileManagement",
       dataType: "text/html",
       success:function(html){
          $("#modalBodyId").html(html);   
          $("#modalId").modal('show');
       }
    })
    
  • User Avatar
    0
    cleverplatform created

    Thanks Liang,

    this is clear to me - but i meant something like register client API methods for this compoment for supporting flow -> open modal with File management (which is solved by your post), upload/do something with files, and select one record which will be stored in parent component. after closing modal window. Can I register these JS events (for filemanagement UI component) or solve it somehow ? I can't see source code for UI but selection event/method will be usefull for that kind of cases.

    Erik

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Maybe you can check: https://docs.abp.io/en/abp/4.4/UI/AspNetCore/Modals

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06