Use this procedure to add a custom field to a content item or page. A custom field is a field that you create. There are default fields for each content item or page, such as author, title, etc. IIf you need to add fields other than the existing ones, you must create a custom field, for example, price. A custom field is associated with the content type or page. The field appears in the backend when somebody is creating that content type. The custom field can then be filled out by the creator and then displayed on the public part by adding it to the widget template, which is used to display that content type.
EXAMPLE: When creating an event you can enter its location, starting and ending time, and other predefined parameters. For each event you can add a custom field, for example Dress code. Afterward, each time an event is created, the creator can fill out this Dress code field. You can make this field to be a multiple choice. To control where or whether to display this field on the website together with each event, you modify the template used to display events.
After you have created a custom field, everybody who is creating or editing the content items for which you have added a custom field can enter information in that field. If there are any created custom fields for the content type you are creating, a Custom fields section appears at the end of the page, and the created fields appear in this section.
To display a custom field in the public side of your website, you must add the field to the widget template which you use to display that content type. For more information, see Create and edit widget templates.
For more information about including a custom field in search indexes, see Administration: Create search indexes.
For more information about working with custom fields programmatically, see For developers: Create custom fields.
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 © 2022 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