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
- Add a new column in the database/entity
- Add the new field on UI.
- Put some validation in UI as well as backend/services.
- 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)
-
0
Hi,
Basic implementation of this feature is planned for 8.4 version, see https://github.com/aspnetzero/aspnet-zero-core/issues/632
-
0
@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!
-
0
Thanks @bobingham :),
That's another alternative.