This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[WebDesigner] Limit the items available in a filter pop-up in a Grid

Hello,

We're using simple Grids to display data to our user. These grids' columns are defined using a "Property list" parameter, and some of these columns are FK, for example to Localities or Departments.

When opening the filtering pop-up for an FK column, and selecting "filter by object", the whole hierarchy of the given database object is displayed. We would like to filter this list.

For example, we have a multi-level hierarchy of Departments, and users can only be affected to Departments with treelevel=3. When we open the filter pop-up for the column Department, the whole hierarchy of Departments is displayed, and selectable. This makes no sense from the user perspective, since users can't be affected to the first two levels of Departments.

We tried using the "Filter on candidate objects" option of the column in the "property list" parameter. We specified something like "treelevel=3" (double-qotes included, as we're aware that this needs to be input as a string), but to no avail.

Was somebody able to filter the items displayed in the "select by object" filter pop-up? If not, can somebody from OneIdentity confirm that the "Filter on candidate objects" is not intended to limit available items in the filtering pop-up (and maybe points us toward the correct direction).

Thank you all in advance for your help.

Best regards,

Robin

  • Hi Robin,

    Filter on candidate objects is for assigning FK Objects, if this property is writable. So a completely different purpose.

    Regards,

    Geraldine

  • Hello Geraldine,

    Thanks for your answer.

    We indeed already use the "filter on candidate object" option of columns on a property list to filter available items selectable in a form (when a user is created for example).

    I understand that this option cannot be used for my use-case. Any idea of a wey I could do what I'm trying to do, though?

    Thanks a lot for your help!

    Robin