More in this section

Forums / Developing with Sitefinity / Custom Field Configuration Settings

Custom Field Configuration Settings

2 posts, 0 answered
  1. Thomas Weidman
    Thomas Weidman avatar
    38 posts
    19 Apr 2004
    16 Aug 2011
    Link to this post

    Is there a way to provide settings for a custom field when adding it to a module?  I've written a Field that extends from the Telerik.Sitefinity.Web.UI.Fields.ChoiceField class and would like to give it meta data depending on where it is being used.

    I know I could use the Web.config and a configuration manager request to get an app setting but wanted to see if Sitefinity has a better or preferred method for handling this.


  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    19 Aug 2011
    Link to this post
    Hi Thomas Weidman,

    All field controls are configured in the definitions class of the given module, the definitions have both Native and Fluent API. You can examine the ProductsDefinitions class in the products sample module to see how we configure the field controls when they are declared.

    Kind regards,
    Radoslav Georgiev
    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
2 posts, 0 answered