Skip to Content
-1
Nov 22, 2018 at 02:48 PM

Update attribute list of type Enum based on value selected in another attribute.

211 Views

Hi all,

I have a scenario to implement, where in a given model, there are two attributes of two different ENUM types. In the hybris backoffice, based on the value selected in the first ENUM, I want the second ENUM attribute to have only restricted possible ENUM values to choose. The sample items definition is something like this:

  <itemtype code="Foo">

 <attribute qualifier="attribute1" type="Enum1"/>
 <attribute qualifier="attribute2" type="Enum2"/>

 </itemtype>


I found a similar example in TicketStateEditor from CustomerSupportBackoffice, but could not make much sense of it.

Please provide a solution to this issue.

Regards,