Developer forum

Forum » Integration » Ecom Provider - what to expect

Ecom Provider - what to expect

Michael Knudsen
Reply

I receive some product relation data from an external source and import these data with the Ecom Provider to the EcomProductsRelated tabel. I know alot is going on behind the scenes using the Ecom Provider, but I had hoped the Ecom Provider would skip the relation data if either ProductRelatedProductId, ProductRelatedProductRelId or ProductRelatedGroupId isn't valid, but unfortunately it does.

Is possible with some of the Ecom Provider settings to avoid invalid data is imported? Or do I need to create a tabelscript or something else?

Br. Michael Knudsen


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Michael,
the EcomProvider can not do that checks for those fields, however it does the Related Group(ProductRelatedGroupId) field ckeck by this:
This field can contain an Id of a group in the EcomProductsRelatedGroups table, or the name of a group to be created. If a matching group is found by Id, the relation is added to that group. If not, the group is created. If the field value is empty then the relation group called "Imported Relations Group" will be created and used for the relations.
It does not do a checks on the product Ids for this table.
You can look on a sample table script for the similar task here.
BR, Dmitrij

 

You must be logged in to post in the forum