You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The available languages for a property vary from object to object. For instance, the following query will work if we ask for "FR" but won't work if we ask for "EN" (the item labels are available in french and english, but the classification label exists only in english):
The issue is more global. The problem exposed above occurs when the same language is not present for all the properties. But more generally, if we suppose we have a default language, do we provide a fallback when the properties are not available in this language ? For instance, the query above won't work in french but will work in english:
One option could be to deal with the language in the ui, where we could implement some specific rules to have a safe fallback. But it's not trivial. If we do so, we need to remove the FILTER statement in queries and build a process utility. Another option could be to make dedicated queries to retrieve all text properties: these queries should return one or multiple results depending on the languages available. But it adds a lot of complexity too.
The available languages for a property vary from object to object. For instance, the following query will work if we ask for "FR" but won't work if we ask for "EN" (the item labels are available in french and english, but the classification label exists only in english):
Note: this is a simplified version of
itemDetails
query.The text was updated successfully, but these errors were encountered: