Developer forum

Forum » PIM » Getting Products from PIM Channel

Getting Products from PIM Channel

Umar Farooq
Reply

HI,

I am trying to get products from PIM channel and As far as i can see that each Channel is a shop of its own and was hoping to get products using ProductService().GetAllProductsByShopId("SHOP4", false) but apparently getting an application error on this call. I have tried it in different solution and DW Version but gets the same result (Primarily i have Tested it on DW 9.5.5 & 9.5.6). I have also attached the stack trace.

any suggestions on this issue?

stack_trace.png

Replies

 
Steffen Kruse Hansen Dynamicweb Employee
Steffen Kruse Hansen
Reply

Hi Umar,

Yes, a PIM channel is just a shop, so you should be able to get the products inside the channel by calling ProductService().GetAllProductsByShopId. I have just tried to test on my own solutions, and I have been able to reproduce this on all 9.5 versions.

I have just made a fix which will be available on 9.5.8, or you can download the Dynamicweb.Ecommerce 1.5.37 from MyGet, when it has been released (hopefully today or tomorrow).

Sorry for the inconvenience

Best regards,

Steffen

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Umar

The bugfix #r60955 has been released in Dynamicweb version 9.5.8

To upgrade please choose this version from backend or download from here:

http://doc.dynamicweb.com/releases-and-downloads/releases

Let me know if you need any more help regarding this

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

 

You must be logged in to post in the forum