To learn more about the different steps to create a custom field, read the For developers: Create custom fields for product types article.
Here is a list of the things that are specific for the multiple choice field:
When creating a multiple choice field, where you create the field definition, you must also create the available choices for the field.
To do this perform the following:
NOTE: When creating a multiple choice field, store your choices into an enumeration. The choices are not stored in the MetaField instance. The enumeration will help you work with the choices when setting or getting the value of the field via code.
Use the following code example:
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity