Custom Attributes Data Types

Summary: An overview of the available data types in custom attributes

This article discusses the different data types available in the custom attributes feature. The core available data types include:

  • String
  • Long Text
  • Integer
  • Float
  • Date
  • URL
  • Boolean

You can create lists of up to 25 items of any data type except Date and Long Text.

The table below summarizes the requirements and limitations for each available data type. For most types of custom attributes, the platform automatically creates a corresponding column, filter, and Group By, and exportable field. The table below indicates whether the platform offers full feature support for a specific data type.

Data Type

Description

Filter Supported

Group By Supported

Column Supported

Export Supported

String

A string can be up to 256 characters and consist of any UTF-8 character

Yes

Yes

Yes

Yes

List of String

Each item can consist 256 characters and consist of any UTF-8 except the comma (,)

Yes

Yes

Yes

Yes

Long Text

Long text supports UTF-8 characters and can be up to 64 MB

Yes

No

No

Yes

Integer

An integer can be any whole number between -2147483648 and 2147483647

Yes

Yes

Yes

Yes

List of Integer

Each integer can be any whole number between -2147483648 and 2147483647

Yes

Yes

Yes

Yes

Float

A float can be any number between -2147483648 and 2147483647 and have up to 2 digits after the decimal

Yes

Yes

Yes

Yes

List of Float

Each float can be any number between -2147483648 and 2147483647 and have up to 2 digits after the decimal

Yes

Yes

Yes

Yes

Boolean

A boolean can be either True or False

Yes

Yes

Yes

Yes

List of Boolean

Each boolean can be either True or False

Yes

Yes

Yes

Yes

URL

A URL must start with http:// or https:// and can be up to 1024 characters

Yes

Yes

Yes

Yes

List of URL

Each URL must start with http:// or https:// and can be up to 1024 characters

Yes

Yes

Yes

Yes

Date

While the platform uses the same format for all dates, the client settings administrator determines how users must format the data when submitting custom attributes through the API or Generic Upload (See below for more information)

Yes

Yes

Yes

Yes

Input Formats for Dates

When you create a Date attribute, you must provide an Input Format. This Input Format applies to custom attribute values that you submit through the API or Generic Upload. The platform displays and exports date custom attributes in the same format regardless of what Input Format that you select.