Custom Field Configuration Settings
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
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