Skip to content

Configure Dependent Attributes for Taxonomy-Based Attribute ValuesReport: #1213

Description

@milangupta03

Background

The following Stibo configuration uses a ValueFilter to restrict the list of valid values for the PARTICULATES_FILTERED_MULTI_CD attribute for the Water Filter Cartridges category.

<Product ID="LEAF_3268723" UserTypeID="CATEGORY_LEAF">
    <Name>Water Filter Cartridges</Name>
...

&lt;AttributeLink AttributeID="PARTICULATES_FILTERED_MULTI_CD"&gt;
    &lt;MetaData&gt;
        &lt;Value AttributeID="Mandatory" ID="Y"&gt;Yes&lt;/Value&gt;
    &lt;/MetaData&gt;
    &lt;ValueFilter&gt;
        &lt;Value ID="NOT_APPLICABLE"&gt;Not Applicable&lt;/Value&gt;
        &lt;Value ID="MOULD"&gt;Mould&lt;/Value&gt;
        &lt;Value ID="MERCURY"&gt;Mercury&lt;/Value&gt;
        &lt;Value ID="BACTERIA"&gt;Bacteria&lt;/Value&gt;
        &lt;Value ID="ZINC"&gt;Zinc&lt;/Value&gt;
        &lt;Value ID="PET_DANDER"&gt;Pet Dander&lt;/Value&gt;
        &lt;Value ID="SMOKE"&gt;Smoke&lt;/Value&gt;
        &lt;Value ID="GAS"&gt;Gas&lt;/Value&gt;
        &lt;Value ID="CLASS_1"&gt;Class 1&lt;/Value&gt;
        &lt;Value ID="CADMIUM"&gt;Cadmium&lt;/Value&gt;
        &lt;Value ID="DUST_MITES"&gt;Dust Mites&lt;/Value&gt;
        &lt;Value ID="WATER"&gt;Water&lt;/Value&gt;
        &lt;Value ID="OIL"&gt;Oil&lt;/Value&gt;
        &lt;Value ID="DUST"&gt;Dust&lt;/Value&gt;
        &lt;Value ID="AIR"&gt;Air&lt;/Value&gt;
        &lt;Value ID="CHLORINE_CTO"&gt;Chlorine -CTO&lt;/Value&gt;
        &lt;Value ID="COPPER"&gt;Copper&lt;/Value&gt;
        &lt;Value ID="POLLEN"&gt;Pollen&lt;/Value&gt;
    &lt;/ValueFilter&gt;
&lt;/AttributeLink&gt;

</Product>

This behavior should be implemented in Syndigo using Dependent Attributes.

Required Configuration

1. Taxonomy Model

Update the Taxonomy Model - Attributes sheet:

  • Populate the Dependent Attribute column with the taxonomy/category attribute.
  • Populate the Dependent Relationship column with the relationship that links the reference data values to the taxonomy category.

2. Reference Data

Configure the reference data so that each reference value is related to its applicable taxonomy category.

For example:

Category Allowed Value
Water Filter Cartridges Not Applicable
Water Filter Cartridges Mould
Water Filter Cartridges Mercury
Water Filter Cartridges Bacteria
... ...

Each reference data value should have a relationship pointing to its corresponding taxonomy category.

Expected Behavior

When a user selects the Water Filter Cartridges category, the PARTICULATES_FILTERED_MULTI_CD attribute should display only the values configured for that category, matching the current Stibo ValueFilter behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions