Set Attribute usage in Configurator API
We have a Bulk Tool which creates bulk number of orders from worksheet.
We use Product Configuration APIs in escripting to configure the order.
We are not able to populate attributes of child (level 2 products ) order line items.
Set attribute function is being used to populate attributes.
This works fine for Level 1 product attrbutes, but for level2, the attribute values are not popualted.
In script, we traverse till the product for which attribute needs to be updated and copy the below values to an input propset.
oSetAttrValInputs.SetProperty ( "Path", oProdInstance.GetProperty("Integration Id") );
oSetAttrValInputs.SetProperty ( "XA Id", oProdInstance.GetChild(i).GetChild(j).GetProperty("XA Id") );