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:
EcommerceManager
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.
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important