What you cannot do is match a property referenced by a property of a document in the result set of a query. Caution Box |
---|
title | Before 4.5: Deep Links on left side of Constraints are NOT supported! |
---|
| Without materialization as provided by version 4.5 of the projectdoc Toolbox, the following does not work in the Where clause of a query. Code Block |
---|
title | This is NOT supported! |
---|
| $<Organization->Type>=$[Type] |
|
For this example you want to make sure that the result set contains only persons that work in organizations that match the type of the current document. If you need this sort of query you need to support this in your information model. To do so you need to materialize this reference in the person document. |