Developer forum

Forum » PIM » Shared query to locate products that need translations

Shared query to locate products that need translations

Michael Knudsen
Reply

Hello forum,

- I would like to build a shared query, that returns all products where the description on the danish language is not empty and the product description on swedish language is empty.

I have tried the following, but it dosn't find the expected products, so maybe you have a solution?

Br. Michael Knudsen


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Michael

I cannot see that is possible - because you are looking at 2 different documents (records) in the index. It would have to be a chained query and we do not support that... Would be aweseom though!

BR Nicolai

Votes for this answer: 1
 
Michael Knudsen
Reply

Hello Nicolai,

- if you could add some awesomness to the shared queries, would it be great ;-)

Br. Michael Knudsen

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Michael

Yes, we are considering some approaches to be able to do these kind of things.

One concept being considered is an index with "product containers" which would be a combination of all product records sharing the same productid - e.g. all variants/family products and languages. Each document could be quite big though.

Another concept that we consider is adding a new grouping mechanism on products - an addition to productid, variantid and languageid. So a "ParentContainer" kind of fields that would be able to group a number of products in a more arbitrary way. This feature comes with a number of technical challenges as we need to find a way to handle field inheritance.

You will hear more when we are further into this and ready to do some actual implementation of it.

 

You must be logged in to post in the forum