Hi there,
Is it possible to up date multiple products in Dynamicweb from a single source in an XML file? I have a catalog where we create unique products for each customer. So we can have something like this:
Product 1
Number 1234
ID 1234_CustomerId1
Product 2
Number 1234
ID 1234_CustomerId2
The products share the number but have an ID that is unique for a customer.
So far so good. However, I now have another source from a different system that doesn't know anything about a customer, and supplies data only for a product number, like this:
<?xml version="1.0" encoding="utf-8"?>
<tables>
<table tableName="EcomProducts">
<item table="EcomProducts">
<column columnName="ProductNumber"><![CDATA[1234]]></column>
<column columnName="ProductName"><![CDATA[My new name]]></column>
</item>
</table>
</tables>
I set up a task that takes this file as input, then set ProductNumber as the key in the hopes it would do something like this:
UP DATE EcomProducts SET Name = 'My new name' WHERE ProductNumber = '1234'
However, the batch fails with an error message about duplicate keys.
Is there any way to accomplish this?
Thanks,
Imar