IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
Custom fields differ from page attributes in that they provide more extensibility in storing different types of data. They are easier to use for developers, because they mimic static properties better.
Use the following code sample to migrate attributes to custom fields:
NOTE: After the migration is completed you must change the configuration of the FieldControls in the backend. In the DataFieldName property, replace Attributes with CustomFields. For example, replace Attribtues.SampleText with CustomFields.SampleText.
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