Custom Field Configuration Settings

Posted by Community Admin on 04-Aug-2018 16:14

Custom Field Configuration Settings

All Replies

Posted by Community Admin on 16-Aug-2011 00:00

Hello-

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.

Thanks,

-Thomas

Posted by Community Admin on 19-Aug-2011 00:00

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

This thread is closed