none
XPath Question! RRS feed

  • Question

  • Hi Guys

    I am trying to use a xpath filtering for my groups, I will Explain the scenario:

    I am using two resource types: Person and Asset (custom).

    A Person could have more than an asset associatedto it, for this reason I created a new resource type called PAssets, on this resource type, have objects with two reference attributes, one for person and a multi-valued reference for asset (there one exception that the user can have more than one asset associated).

    I need to create groups including all the Person that have a certain type of Asset. Tried some examples, but i couldn't navigate inside the nodes to put the Person related for a Asset in a group.

    Can anyone help me?


    - Diego Shimohama http://www.dshimo.com.br

    Monday, February 23, 2015 7:52 PM

All replies

  • Hi Diego,

    I'm afraid that is not possible to use this kind of Xpath for the filter of groups. Filter for group cannot reference objects based on a third-party object.

    You need to do some cross reference, like attach a PAsset to a Person, or Asset to a Person.


    Regards,


    Sylvain

    Tuesday, February 24, 2015 9:49 AM