Attribute | Description |
---|---|
Attribute Title | The name of the attribute. |
Type of Attribute | Specifies the attribute type, such as text, number, date, boolean, serial, or list of values, which is also known as list of options. |
Description (Optional) | Provides additional details about the attribute. |
Decimal | Indicates if the attribute allows decimal values. Valid values are true if decimals are allowed or false if only whole numbers are allowed. Applicable only to number-type attributes. The default value is true, and you must ensure that the number is in decimals. |
Min (Optional) | Defines the minimum value for validation. Applicable only to number-type attributes. |
Max (Optional) | Defines the maximum value for validation. Applicable only to number-type attributes. |
Date Format | Specifies the required date format, such as MM/DD/YYYY, MM-DD-YYYY, DD/MM/YYYY, DD-MM-YYYY, YYYY/MM/DD, or YYYY-MM-DD. This is mandatory for date-type attributes; otherwise, the attribute can’t be imported. |
Calculation Formula (Optional) | JavaScript formula used to calculate the attribute value. |
Validations Formula (Optional) | JavaScript formula used to define business validation rules for the attribute. |
Mandatory | Specifies whether the attribute is required. Valid values are true if the attribute is mandatory or false if it’s optional. |
Start With | Defines the starting value for a serial-type attribute. Applicable only to serial-type attributes. |
Increment by | Specifies the increment value for a serial-type attribute. |
Options Select Type (List of Value) | Determines if the attribute is a list of values. Valid values are true if the attribute is a list of values or false if it’s not. To specify options, use additional columns, such as Value 1, Value 2, Value 3, etc. |
Attribute Title | Type of Attribute | Sub Type | Description | Decimal | Min | Max | Date Format | Calculation Formula | Validation Formula | Mandatory | Start With | Increment by | Options Select Type | Value 1 | Value 2 | Value 3 | Value 4 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
On Sale | BOOLEAN | TRUE | |||||||||||||||
Description 1 | TEXT | SMALL_TEXT | FALSE | ||||||||||||||
Description 2 | TEXT | TEXT_AREA | TRUE | ||||||||||||||
Description 3 | TEXT | HTML | FALSE | ||||||||||||||
Color | OPTIONS |
Error Message | Description |
---|---|
File header not present | A column header in the CSV file is incorrect. |
INVALID_ATTRIBUTE_TYPE | An invalid attribute type was provided during import. Supported types are:
|
ATTRIBUTE_TYPE_NOT_FOUND | An the attribute type wasn’t mentioned in the CSV file during import. |
Duplicate headers found [“Sub Type”] | Duplicate columns are present in the CSV file. |
Attribute not found in formula definition. | An invalid attribute was provided for a custom formula during import. |
At least one of the properties in startWith or increment are missing. | A startWith or increment value was missing for a serial type attribute during import. |
acceptedValues must be unique and can’t be empty | Duplicate or empty values were present for a list of values attribute during import. |