HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback

Property Data Types

Shows the property data types for the Optimizely Content Definitions API.

List Property Data Types

List all property data types available in the system.

GET/api/episerver/v3.0/propertydatatypes

Common Property Data Types

What you want to createData TypeEditing experienceHints and tips
Plain short textPropertyStringOne row inputControl the allowed length with the length validation.
Plain long textPropertyLongString with hint TextareaText areaControl the allowed length with the length validation.
HtmlPropertyXhtmlStringA TinyMCE HTML editor 
Integer valuePropertyNumberControl the min and max values with the range validation.
DoublePropertyFloatNumberControl the min and max values with the range validation.
Date and timePropertyDateA date and time pickerControl the min and max values with the range validation.
BooleanPropertyBooleanCheckbox 
Page typePropertyPageType Filter items in a list, and so on.
BLOBPropertyBlob Hold binary data (such as an image). Route to a BLOB with pattern {Url to content}/{BlobPropertyName}.
LanguagePropertyLanguageCheckbox list
Sort orderPropertySortOrderDropdown list
CategoryPropertyCategoryCategory pickerCategories are managed in the admin UI.
Dropdown listPropertyDropDownListDropdown listAvailable selections are managed from the admin UI.
Checkbox listPropertyCheckBoxListCheckbox listAvailable selections are managed from the admin UI.
Generic listPropertyCollection with itemType specifying the type of items within the listItemType can be a built in dataType like PropertyString or a block type which is specified with the name of the block type. Supports length validation and then optionally other item validation depending on item type.  
List of stringsPropertyStringListControl the allowed length with the itemLength validation. Control the number of strings with length validation. 
List of integersPropertyIntegerListControl the min and max values with the itemRange validation. Control the number of strings with length validation. 
List of doublesPropertyDoubleListControl the min and max values with the itemRange validation. Control the number of strings with length validation. 
List of datesPropertyDateListControl the min and max values with the itemRange validation. Control the number of strings with length validation. 

Work with other content

What you want to createData TypeEditing experienceHints and tips
Link to any contentPropertyContentReferenceContent picker with drag and drop support
Link to a pagePropertyPageReferenceContent picker with drag and drop support 
Link to a media file of any typePropertyContentReference with hint MediaFileContent picker with
drag and drop support
Link to any file in the media repository.
Link to an imagePropertyContentReference with hint ImageContent picker with
drag and drop support
Lets an editor select content in the media repository by using baseType Image.
Link to a videoPropertyContentReference with hint VideoContent picker with
drag and drop support
Lets an editor select content in the media repository by using baseType Video.
Link to a media file with the possibility to append information in the URLPropertyUrl with hint
MediaFile, Image or Video
Content picker with drag and drop supportEach link can be an item inside Optimizely, such as pages or media but also external URLs. Use URL instead of PropertyContentReference if you want to add information, such as query string parameters to control size.
Link to internal or external resourcePropertyUrlLink dialog with drag and drop support 
Link to multiple external and/or internal resourcesPropertyLinkCollectionLink collection editor with drag and drop supportControl the number of links with length validation. 
Link to internal resourcesPropertyContentReferenceListContent picker with
drag and drop support
Control the number of content references with length validation. 
Include block dataPropertyBlock and itemType with the name of the block type. 
Display content from other contentPropertyContentArea

Validation

See Content types for information about validation.