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
Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.