How to query an object in IDM based on the relationship object

We have created two managed objects function and feature. Function has a relationship to name attribute of feature object. When we query function object with its attributes it works pretty well however if we want to filter based on that relationship attribute it doesn’t work. Is there a specific syntax to query realtionships?
_queryFilter = name+eq+‘1’ => works fine
_queryFilter =‘test’ => featureid is the name of the relationship attribute, doesn’t work

Appreciate some help.

Hi, you may consider using relationship derived virtual properties (RDVP), as described here.
Basically, you can not directly query relationship type of properties, but you can define RDVP’s that can be queried. This is explained here.


Thanks for this idea. I will go through this feature and keep posted for others benefit

1 Like