Skip to content

Creating an attribute or tag

Suppose we have a number of images that we would like to be able to filter during a search. To do this the images must have either a tag or attribute associated with them.

Step-by-step guide

In the following example we will create an integer attribute that denote the weight of some product measured in grams. To create such an attribute the steps below must be followed:

  1. Click on the "Settings"-tab.
    Settings tab
  2. Click on "Attributes" on the left menu.
  3. Click on the "Create Attribute"-button.
    Create attribute
  4. Fill out the values. These will be explained further below.
    Attribute settings
    The name of the attribute is the name as it appears in DAM.
    The indexing behavior specifies how the attribute acts when searching. Since the attribute specifies the weight of some product we will set the unit type to "g" for grams.
    Attribute type is integer here.
    "Allow Multiple Values" is unchecked since a product can only have one specified weight.
    "Default Value" is set to 0. Not specifying a value for the attribute will cause a value of 0 to be chosen.
    "Minimum Value" is set to 0 since negative weights are impossible. Additionally there are no upper bound for weights, so "Maximum Value" is left blank.
  5. Click on "Save".

Specifying fixed values

If we know that the weight of our products can be specified by a small fixed set of integer values, we can add these fixed values to our attribute by following these steps:

  1. When creating or editing an attribute, click "Add Fixed Values".
    Add fixed values
  2. Type in the desired fixed value and push "enter".
    Enter fixed value
  3. As many values as wanted can be entered this way. Click "Close" when you are done.
  4. Click "Save".

When adding the attribute to an image, the value chosen must be one of the values defined in the fixed set.

Creating a tag

Tags are created by doing the following steps:

  1. Select an image within DAM.
  2. Click on the "Tags"-tab in the detail view on the right.
    Tags tab
  3. Enter the desired tag name.
    Tag name
  4. Push "enter" and the tag has now been created.
    Tag created

Tags and attributes can be translated. See Creating translations for more information.