Creating an Attribute
To create an attribute
- Go to ADMIN SETUP > Product Administration > Attributes.The Attributes page is displayed.
- Click the Create New drop-down button and
click Attribute. The New Attribute page is displayed.
- On the Data Type drop-down, select a data type.
Data Type
Description
String
Allows users to enter any text. The default length is 2000.
Int
Allows users to enter any number. Leading zeros are removed.
Double
Allows users to enter any number. Leading zeros are removed.
Currency
Allows users to enter any number. Leading zeros are removed.
Boolean
Allows users to enable or disable a checkbox.
Date Time
Date Time description here.
Lookup
Allows users to search for entries that belong to another object. For the Lookup data type, you must select the object from the dropdown in the Object Related To field.
Picklist
Allows users to select a value from a list you define.
Multi Picklist
Allows users to select a value from a list you define.
- In the Attribute Name field, enter a name for the attribute.
- The Display Name field is populated automatically based on the attribute name you enter. Change it if required.
- Add Help Text to any attribute. A help icon will appear next to the attribute name by hovering over it to view the help message.
- In the Description field, enter a description for the attribute.
- In the Default Value field, enter a default value for the attribute. If you select Data Type as Picklist or Multi Picklist, you must select the default value from the Default Value drop-down.
- The Default Value will be defined by adding the List Values.For the attribute type Picklist, you must enter the picklist values in the Key and Value fields as required.
- Turn the Is Required setting on to make this attribute as a required attribute.
- Click Save. to save this attribute or Save & Create New to save this attribute and create another attribute. The Attribute page now displays the Display name before the Attribute name and automatically copies the Display name to the Attribute name, replacing spaces with underscores.
- To discard your changes:
- Click Discard Changes.The Alert pop-up is displayed prompting you to confirm discard.
- Click Don't Save.
- Click Discard Changes.