A custom field is a field that you create. For each content item there are default fields, such as author, title, etc. If you need to add different than the already existing fields, you must create a custom field, for example, price. A custom field is associated with the content type. For more information about custom fields and how to work with them in the backend, see Overview: Custom fields.
You can also create a new custom field using the Fluent API. The following example shows how to create a new custom field to the News module - the field is accessible for every news item:
The example uses the DynamicData facade. This facade provides methods for retrieving the field information. The DynamicData() facade provides methods for working both with a single field or a collection of fields.
This code creates a new ResearcherName column in the table related to the News module. This is done by Telerik OpenAccess ORM.
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 © 2020 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