Base solution for your next web application
Open Closed

Plugin/Extensibility Possibility #8658


User avatar
0
mahendra created

Hi, I am using ASPNetZero Version 8.0 with Angular. I am looking for some kind of extensibility framework within the application.

So let's say I have published my application (assuming that the application is not multitenant). Now some of the my customer wants to

  1. Add a new column in the database/entity
  2. Add the new field on UI.
  3. Put some validation in UI as well as backend/services.
  4. Save value entered in the UI in the database.

Please note: Customer does not have my source code. Basically something I am looking for is kind of MEF framework.

Is this available with ASPNetZero/ABP.... If yes, could you please direct me to a link where I can have a look. I do see a small extensibility example of Database maintainer, but thats not sifficient for me. I need to meet the above use case.

Regards, Mahendra


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Basic implementation of this feature is planned for 8.4 version, see https://github.com/aspnetzero/aspnet-zero-core/issues/632

  • User Avatar
    0
    BobIngham created

    @mahendra, You could use IExtensibleInterface. Create a tenant object which allows the user to add fields dynamically (you will need to use a dynamic forms library e.g. ngx-formly). Use the dynamically created form for your tenant entity and save the results of the form back to the ExtensionData property of your individual entity. It's not easy but it's doable!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @bobingham :),

    That's another alternative.