+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Programmatically adding fields to modules created using Module Builder

Programmatically adding fields to modules created using Module Builder

3 posts, 0 answered
  1. PPT
    PPT avatar
    4 posts
    Registered:
    24 Jan 2012
    22 Jul 2012
    Link to this post
    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.
  2. Haithem
    Haithem avatar
    10 posts
    Registered:
    08 Jul 2012
    14 Mar 2013
    Link to this post
    Hi Pete,

    Did you get an answer for this?

    Thank you
  3. Atanas Valchev
    Atanas Valchev avatar
    414 posts
    Registered:
    04 Jan 2016
    18 Mar 2013
    Link to this post
    Hello,

    Creating fields is only available through the UI at this moment.

    Greetings,
    Atanas Valchev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
3 posts, 0 answered