Developer forum

Forum » Integration » Importing products into PIM groups

Importing products into PIM groups

Marie Louise Veigert
Reply

Hi,

I can't seem to find any post or documentation on this request from the client.

We are importing products from NAV into Dynamicweb with the XML provider as source and Dynamicweb Provider as destination. It works well.

Now they are asking wether it is possible on the import to import into PIM groups. -> Fx a product have a column with groupName and ID of some kind.
I would like if I could use the Data Integration out of the box for this.

Is it possible? Or do I need to do some custom code for this?
 I would be able to get the structure as I would like from the ERP partner.

BR Marie Louise


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Marie,

it is a bit unclear what you want to achieve, but there is request for importing the groups and product group relations:
<GetEcomData>
  <tables>
    <ProductGroups type="all"/>
  </tables>
</GetEcomData>

Also for the products request there is two additional parameters you can supply so it will output the needed relations for specified group:
<GetEcomData>
  <tables>
    <Products type="all" groupID="Group1" shopID="Shop1" />
  </tables>
</GetEcomData>

So if shopId is passed then it will output the additional table called "EcomShopGroupRelation" so you probably don't need it just a groupId.
The all products from the import will be related to the specified "group" by passed groupId.

BR, Dmitrij

 

You must be logged in to post in the forum