Add a property
To add a property:
In the New member dialog box, select a property type from the following list:
Property type Description String Alphanumeric data type, for example, a set of letters of the alphabet, numeric characters, blank space, and punctuation marks. Boolean A data type with two values used for flagging a true or false condition. Integer A data type that represents a number with no fractional part. Long long int is a data type with a larger range, for example, 32 bits, than an integer. Decimal Denotes a decimal data type, for example, including decimal fractions without rounding. Datetime Used for values containing both date and timestamp indications, such as YYYY-MM-DD HH:MM:SS. Datetime offset A data type that expresses the date and time of day, considering the coordinated universal time. Option list An array of string data types, for example, a set of string values. JSON Data type defined by JavaScript Object Notation. Click Next.
In the New member dialog box, on the General information tab, define the following fields as required, and click Save:
Field Description Mandatory Name The name of the depicted data type is the name as it appears in the data model. Yes Type Read-only representing the chosen data type. No Label The label shows how the member displays in the UI. This value can be translated for all cultures within the system. No Help text A visual hint that displays below the field in edit mode. This hint can be translated for all cultures within the system. No Multilanguage Allows translating content to web pages for different cultures. No Unique When active, identical field values (duplicates) are not valid. No Include in content Allows performing a full-text search on the content page. No Required Specifies whether a member is configured as mandatory. No Include in auto-completion This checkbox is the extension of the previous flag, additionally enabling the suggestion API. No Allow updates Disabling this flag disallows modifying the data type value after creation. The purpose of this checkbox is most likely used for system properties, for example, creation time. No Boost This can be used to increase the importance of a match on the value of this member within the search algorithm. If a search is executed for a specific keyword, and this keyword matches with multiple entities, the entities where the match occurs on the boosted members move higher up the search results. No Secured This toggle switch allows applying member security to the property as explained in Configure member security. No Content type This field applies only to a string data type: - Single line-applies if only a plain text input is needed spanning over one single line.
- Multiple lines-allows for plain text that spans over several lines.
- HTML-allows including a special text layout, for example, formatting options such as bold, italics, headers, and so on.
No Regex validation A regular expression describes a search pattern. This field allows for additional validation on the correct metadata input. - Example:
- ^[0-9]*$^ : searches for a number.
- \b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}\b: searches for an email.
No
Note
Certain settings, such as Multi-language or Cardinality, cannot be modified after the property is created. Rather than update these settings for an existing property, you have to create a new property with the settings you want, and use that property instead.
Also, when creating entities with relations, we recommend that you create the entity first and the relations second.
Can we improve this article ? Provide feedback