cancel
Showing results for 
Search instead for 
Did you mean: 

How to index properties added on fly through impex ?

Former Member
0 Kudos

we've a requirement where product attributes and their values are added on fly, i.e., we've created a new item ItemAttribute with properties Key and value [example - key=colour/value=blue]. we assign this ItemAttributeCollection to product as a attribute and add values to this property in impex. Generally we index the properties of product using indexedProperty, but how can i index the attributes of the ItemAttribute.

 INSERT ItemAttribute; item(code)[unique=true]   ;key[unique=true]  ; value
                     ;item-0                     ;author            ;"ROBERT"
                     ;item-1                     ;qualification     ;"Degree"
 
 INSERT TestItem; code[unique=true] ; attributes;
                ; 7491              ; item-0,item-1;

Here , TestItem extends Product.

We've created ItemAttribute for adding attributes and their values for product dynamically as we've are not sure of attributes which may come in future. Please advise how to index attributes added like above

Thanks, Sandeep

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sandeep,

What you are trying to achieve is more or less this what can be done via classification system. Isn't it the answer to your use case?

Cheers, Michal