Developer forum

Forum » PIM » Avoid LiveIntegration when defining a Feed

Avoid LiveIntegration when defining a Feed

Adrian Ursu
Adrian Ursu
Reply

Hi guys,

I have a project running DW 9.8.5 with PIM and I need to create a feed for partners.

In this feed, I don't want to add live prices but rather list prices from the PriceMatrix values stored n DW already.

It seems that no matter how I try, dwapi tries to connect to live integration.

How can I avoid this?

Thank you,
Adrian


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

Anybody?

Thank you,
Adrian

 
Søren Jensen Dynamicweb Employee
Søren Jensen
Reply
Hi Adrian,
 
I have just tryed it on my solution (DW9.8.7) ..
 
I have specified a PriceMatrix, linked to a Channel, and called a XML feed on it, and that gave me the PriceMatrix price ..
 
Afterthen I connected to another Channel/Feed, containing the same Products, and that give me the StandardPrice.
 
So PriceMatrix seems to work OK.
 
But .. I do not have a LiveConnector setup on my solution, so thats maybe your challenge.
 
/Søren
 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Soren,

The live integration part is important for testing this problem.

In my tests, it does not care if I have set another price, it goes directly to the Live integration.

And in my situation, I am using PriceMatrix to assign a price for the main shop. Like you have described. But the feed does not care for that. It tries to get the price from LiveIntegration.

Maybe you can test it on a solution having Live Integration setup.

Thank you,
Adrian

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Adrian,

 

Have you tried to "Lazy load product info"? https://doc.dynamicweb.com/documentation-9/integration/integration-framework-2/live-integration#7049

 

This will basically ensure that any feeds coming out of the PIM don't trigger the Live Integration request HOWEVER that means that in the frontend for all requests you need to add &getproductinfo=true to trigger it.
Asuming it's a Rapido website, it can be done by adding that parameter to all ajax requests to handlebars.

 

Let me know if this makes sense as a concept. I can help you with all of the places you need to edit to apply it to all Rapido templates.

 

Best Regards,

Nuno Aguiar

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nuno,

Tried that. Apparently the dwapi does not take this into consideration or it does not consider the context somehow.

Something is definitely different there.

Adrian

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Adrian,

 

That is strange indeed. Sorry I can't be of better help.

 

You must be logged in to post in the forum