Did you know: Intuiface Academy has a video-based course about Headless CMS.
Intro
When adding a new property to a Component, you can always
- Set the name of that property
- Add a description to that property, so the users adding content will have context about what this property is used for.
Some property types will have additional metadata fields that are detailed below.
NOTE: Many more property types are to come. This article will be updated as more properties are released.
Text Property Types
Text
- Min characters: The minimum number of characters permitted. Default value: 0
- Max character: The maximum number of characters permitted. Default value: 250. Max value: 500. If you need longer text, use the Long Text property type.
Long Text
- Max size: The maximum number of characters permitted. Default: no limit. This value can be set to 250, 500, 750, 1000, or no limit.
Media Property Types
Image
- Max size: The maximum size permitted for an image to be uploaded. Default: 5MB. This value can be set to 5, 10, 15, 20MB, or No limit (not recommended).
- Accepted formats: The formats accepted for an image to be uploaded. Default: all supported extensions.
Video
- Max size: The maximum size permitted for a video to be uploaded. Default: 100MB. This value can be set to 100, 200, 300MB, or No limit (not recommended).
- Accepted formats: The formats accepted for a video to be uploaded. Default: all supported extensions.
Document
- Max size: The maximum size permitted for a document to be uploaded. Default: No Limit. This value can be set to 5, 10, 15, 20MB, or No limit (not recommended).
- Accepted Format: Only PDF files are supported.
Specific Value Property Types
Boolean
This property type has no additional properties and will accept a variety of values:
- True | False
- On | Off
- 1 | 0
- Check | Uncheck
- Checked | Unchecked
- Enable | Disable
- Enabled | Disabled
- Active | Inactive
- [empty] or Null, meaning False
You can use it in your experience to, for example, specify whether an asset should be visible or if a Toggle Button should be checked.
Number
- Min digit number: minimum number of digits a base user can enter, with or without decimals.
- Max digit number: maximum number of digits a base user can enter, with or without decimals.
Color
This property type doesn't have any additional properties and presents a dedicated color picker panel in the Content tab of the H-CMS. The value is stored as a hexadecimal number that can be used via binding with any Color property in Composer (e.g., Text font color, Button fill color, ...).
This is the color picker in the Property view.
Date Time
- Include a time field: If unchecked, the property will only contain date information (day, month, year). If checked, the property will also contain time information (hour, minute, second).
- Limit the date range: If checked, a base user in the Content panel can only enter a date within the range specified between Start Date and End Date.
- Time derived from: This property defines the time zone used when a user enters a date and time. If you are only using this field to display time information, set the value to "Player local time". If you are using this date and time property to control actions that must occur simultaneously across regions, use "Content editor local time".
- Content editor local time (default): The date and time entered will be synchronized with the editor's local time regardless of a Player's location.
- Player local time: The date and time entered will not be synchronized across time zones but rather specific for each time zone.
- Content editor choice: the base user in the Content panel can choose between the two options above.
Date Time use case examples
- Display a date and time as information, such as for an event list or calendar. The "Time derived from" property doesn't apply in this case.
- Schedule content to be displayed at a given date during a certain period of time, using a filter on that property and comparing its value to the Clock Interface Asset value. If you have players deployed in multiple states or countries with multiple zones and
- You want the content displayed between 7am and 12pm, local time, wherever the Player is running (ex: breakfast menu). Select "Player local time".
- You want the content to be displayed between 8pm and 10pm GMT, maybe during a broadcasted event, wherever the Player is running (e.g. worldwide sports game). Select "Content editor local time. In this case, if the editor's browser/computer is set to GMT, then he/she only needs to enter 8pm and 10pm.
Comments
0 comments
Article is closed for comments.