Property data types
Shows the property data types for the Optimizely Content Definitions API.
List property data types
List property data types available in the system.
GET /api/episerver/v3.0/propertydatatypes
Common property data types
PropertyBlob– Creates a BLOB. You can hold binary data (such as an image). Route to a BLOB with pattern{Url to content}or{BlobPropertyName}.PropertyBoolean– Creates a Boolean (checkbox).PropertyCategory– Creates a category (picker). You can manage categories in the admin UI.PropertyCheckBoxList– Creates a checkbox list. You can manage available selections from the admin UI.PropertyCollectionwithitemTypespecifying the type of items within the list – Creates a generic list. You can specifyItemTypeas built-indataTypelikePropertyStringor block types specified with the name of the block type. Supportslengthvalidation and another item validation, optionally depending on item type.PropertyDate– Creates a date and time (picker). You can control the min and max values with therangevalidation.PropertyDateList– Creates a list of dates. You can control the min and max values with theitemRangevalidation. Control the number of strings withlengthvalidation.PropertyDoubleList– Creates a list of doubles. You can control the min and max values with theitemRangevalidation. Control the number of strings withlengthvalidation.PropertyDropDownList– Creates a dropdown list. You can manage available selections from the admin UI.PropertyFloatNumber– Creates a double. You can control the min and max values with therangevalidation.PropertyIntegerList– Creates a list of integers. You can control the min and max values with theitemRangevalidation. Control the number of strings withlengthvalidation.PropertyLanguage– Creates a language (checkbox list).PropertyLongStringwith hintTextarea– Creates a plain long text area. You can control the allowed length with thelengthvalidation.PropertyNumber– Creates an Integer value. You can control the min and max values with therangevalidation.PropertyPageType– Creates a page type. You can filter items in a list, and so on.PropertySortOrder– Creates a sort order (drop-down list).PropertyString– Creates a plain short text (one row input). You can control the allowed length with thelengthvalidation.PropertyStringList– Creates a list of strings. You can control the allowed length with theitemLengthvalidation. Control the number of strings withlengthvalidation.PropertyXhtmlString– Creates HTML (TinyMCE HTML editor).
Work with other content
PropertyBlockanditemTypewith the name of the block type. – Creates anincludeblock data.PropertyContentArea– Creates a display content from other content.PropertyContentReference– Creates a link to any content. (Content picker with drag-and-drop support.)PropertyContentReferencewith hintImage– Creates a link to an image. (Content picker with drag-and-drop support.) You can let an editor select content in the media repository by usingbaseType Image.PropertyContentReferencewith hintMediaFile– Creates a link to a media file of any type. (Content picker with drag-and-drop support.) You can link to any file in the media repository.PropertyContentReferencewith hintVideo– Creates a link to a video. (Content picker with drag-and-drop support.) You can let an editor select content in the media repository by using baseType Video.PropertyContentReferenceList– Creates a link to internal resources. (Content picker with drag-and-drop support.) You can control the number of content references withlengthvalidation.PropertyLinkCollection– Creates a link to multiple external and internal resources. (Link collection editor with drag-and-drop support.) You can control the number of links withlengthvalidation.PropertyPageReference– Creates a link to a page. (Content picker with drag-and-drop support.)PropertyUrl– Creates a Link to internal or external resource. (Link dialog box with drag-and-drop support.)PropertyUrlwith hintMediaFile,Image, orVideo– Creates a link to a media file with the possibility to append information in the URL. (Content picker with drag-and-drop support.) You can use each link as an item inside Optimizely, such as page, media, and external URLs. Use URL instead ofPropertyContentReferenceto add information, such as query string parameters to control size.
Validation
See Content types for validation information.
Updated 15 days ago