Developer forum

Forum » PIM » PIM Feed not filtering language?

PIM Feed not filtering language?

Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hi All,

I have a feed that should show all PIM products in English. It is connected to a PIM query that just lists all product, without any parameters or expressions.

In the feed definition the language "English" is checked in the "Context" section. 

The resulting CSV shows all languages, and not just english.

Am I missing something here?

Thanks,

Justin

FeedContext.png Lanugages.png

Replies

 
Steffen Kruse Hansen Dynamicweb Employee
Steffen Kruse Hansen
Reply
This post has been marked as an answer

Hi Justin,

The context language does not directly impact the output of products in the feed. It is used some different things like names of Fields or Groups but it does not really make filtering of the products. 
However, it is possible to use the context language to filter the products, you just have to add a parameter to your query called "languageId", and then you can add an expression to the query, which uses that parameter. The result of that should be, that you only see the products in that language.

I hope that helps.

Best regards,

Steffen

Votes for this answer: 1

 

You must be logged in to post in the forum