logo
logo

Add a property

To add a property:

  1. In the New member dialog box, select a property type from the following list:

    Property typeDescription
    StringAlphanumeric data type, for example, a set of letters of the alphabet, numeric characters, blank space, and punctuation marks.
    BooleanA data type with two values used for flagging a true or false condition.
    IntegerA data type that represents a number with no fractional part.
    Longlong int is a data type with a larger range, for example, 32 bits, than an integer.
    DecimalDenotes a decimal data type, for example, including decimal fractions without rounding.
    DatetimeUsed for values containing both date and timestamp indications, such as YYYY-MM-DD HH:MM:SS.
    Datetime offsetA data type that expresses the date and time of day, considering the coordinated universal time.
    Option listAn array of string data types, for example, a set of string values.
    JSONData type defined by JavaScript Object Notation.
  2. Click Next.

  3. In the New member dialog box, on the General information tab, define the following fields as required, and click Save:

    FieldDescriptionMandatory
    NameThe name of the depicted data type is the name as it appears in the data model.Yes
    TypeRead-only representing the chosen data type.No
    LabelThe label shows how the member displays in the UI. This value can be translated for all cultures within the system.No
    Help textA visual hint that displays below the field in edit mode. This hint can be translated for all cultures within the system.No
    MultilanguageAllows translating content to web pages for different cultures.No
    UniqueWhen active, identical field values (duplicates) are not valid.No
    Include in contentAllows performing a full-text search on the content page.No
    RequiredSpecifies whether a member is configured as mandatory.No
    Include in auto-completionThis checkbox is the extension of the previous flag, additionally enabling the suggestion API.No
    Allow updatesDisabling 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
    BoostThis 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
    SecuredThis toggle switch allows applying member security to the property as explained in Configure member security.No
    Content typeThis 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 validationA 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