This topic explains the common approach that is used to create fields.
The links above lead you to a topic for each field. In these topics you will find code examples for creating each of the field types and information about the specifics of the field.
Each field has the following specific values:
For the multiple choice and the yes/no fields you must also add a list of choices. For the classification fields you must specify the ID of the taxonomy.
To create a custom field, you must perform the following:
NOTE: To use the ResolveType method to resolve the dynamic product type, you must make sure that you have instantiated the CatalogManager before that. In this example the CatalogManager is instantiated in order to get the product type.
NOTE: When creating a field of types multiple choice or yes/no, you must set the value of the Choices property. For more information, see the respective code examples.
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