How to manage Deeply Nested Attribute

Prev Next

A Deeply Nested Attribute (DNA) consists of a set of attributes that are grouped and reused consistently to maintain data in multiple-levels (hierarchical structure). For example, nutritional values, technical specifications, product specifications, and so on.

pxc-dna-overview-dialog

You can manage a DNA in a single structured record (non-collection) or multiple structured records (collection). Each child-level (zeroth level or nth child-level) within a DNA supports Textbox, Integer/Decimal, Boolean, Date/Datetime, Reference, Units of Measurements (UOM), and DNA. For more information, see Understand supported attribute types.

When a DNA is a collection attribute, you can:

  • Add multiple structured records
  • Repeat or extend child levels within a record

When a DNA is a non-collection attribute, you can:

  • Add only one structured record
  • Maintain a single set of values across all child levels

Add values for DNA

You can add values for a DNA having attributes in multiple child levels.

To add values for DNA:

  1. In PDP, go to Attributes tab.

  2. Click the Attribute Group dropdown and select a group (Nutrition).

  3. Click on values corresponding to the attribute.
    pxc-dna-click-attribute

  4. In the Nutritional Values dialog, enter the attribute values.
    pxc-dna-dialog

Note:

Notes:

  • When you enter or update the first attribute value at any DNA level, the record label and accordion title are automatically updated to reflect that value.
  • The attribute validation happens instantaneously and displays the validation messages and the error counts.
  1. Click the Expand icon to update the child attribute values.

    You can also perform any of the following at the child level.

    • Click the Add (+) icon on the accordion header to add a new child accordion. Upon adding, the accordion header name is displayed in the "New {{attribute name}} – 2" format.
    • Click the Delete icon to delete any child level.
  2. Click Save.
    pxc-dna-dialog-save

Add a new record for a DNA

You can add more DNA records for a product if an attribute is multi-valued.

To add more DNA records:

  1. On the left pane, click Add New.
    A new DNA tab is displayed along with the attributes.
    pxc-dna-dialog-new-tab

  2. Update the attribute values and click Save.

Other actions

You can hover over the DNA record label and click the vertical ellipses to perform any of the following.

  • Move – to rearrange the DNA value records.
  • Duplicate – to create a copy of the existing record.
  • Delete – to delete any record.
    pxc-dna-dialog-new-tab-actions