Programmatically adding fields to modules created using Module Builder
Sitefinity 4.4
Using Module Builder, I created a Custom Module for a back-end-only requirement. This module is supposed to hold aggregated (from many forms) form submission data and help admins visualize it in the back-end.
Sitefinity created a new table in the database for this custom module with a few fields that I started it out with initially using the Module Builder. We need to be able to add more fields to this module programmatically whenever the submission data has newer keys. I want to be able to add those fields as columns to the table that was created by the Module Builder and have those new fields be available for editing/visualization from the Sitefinity back-end module item management UI.
Is this possible??
When I add using the DynamicData facade, fields get added to sf_meta_fields. These do not appear in the UI when I go to manage that module's items OR when I go to edit that module.
Thank you.
Hi Pete,
Did you get an answer for this?
Thank you
Hello,
Creating fields is only available through the UI at this moment.
Greetings,