User-Defined Item Attributes and Attribute Groups
User-defined attributes are based on extensible flexfields. Create an attribute group to determine which attributes are used at runtime. Extensible flexfields or user-defined attributes aren't available to customers who only license Product Model.
User-defined attributes can have a static or dynamic list of valid values, or a range of values. You can define the values for user-defined attributes when you create the item and the values remain the same for the life cycle of the item.
You can save user-defined attributes within attribute groups. You can associate user-defined attributes with items by adding attribute groups to item classes.
- RPM
- Power
- Oil and fuel mixture
- Weight
You can define an attribute for each of these specifications and then group these attributes together as the Engine Performance attribute group.
You can create attribute groups on the Manage Attribute Groups page.
- Avoid creating similar names for the item class and flexfield attribute groups. Distinct names help ensure that rules run without error.
- Avoid using ItemCategory in the Display Name and API name fields for extensible flexfields and extensible flexfield attribute groups created on items.
- For user-defined attributes, you can optionally define validation rules to be applied when the user inputs data.
- When you create an attribute group, make sure you specify the API name.
An attribute group can be a single row, multirow, or variant.
Multirow attribute groups enable you to associate multiple sets of attribute values with the same object instance. It gives you the ability to store multiple additional attributes that are dependent on the item, organization, attribute group, and a unique value within the attribute group.
-
Chapter number
-
Name
-
Number of pages
You can associate multiple rows of Chapters with a book, while Name and Number of pages require a single row each. The Chapter number attribute is identified as a part of the unique key.
After you create the attribute group and attributes, perform these tasks to complete the extensible flexfield setup:
-
Associate the attribute to the item class using the Manage Item Class task.
-
Deploy the attribute using the Deploy Item Extensible Flexfields task.
Sets of user-defined attribute groups can be organized on a single page that can then be linked from the Specifications tab.