Creating a Dynamic Filter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2024 04:23 AM - edited 07-08-2024 04:53 AM
Hey
I created another filter option for dynamic "My Department".
the field "department" is reference field to 'cmn_department'
script include:
The code:
Dynamic Filter Options
It doesn't work, I would appreciate some help
The filter is shown,
but does not actually filter the list by department
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2024 06:05 AM
Hi Shir,
You need Caller's Department in the filter rather than Caller itself.
To achieve this, enable "dot-walking" in the filter:
Then:
And finally:
Hope this helps!
Lukasz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2024 03:40 PM
HI @Shir Sharvit , in the dynamic filter , set the reference table to Deparment (cmn_department).
And in the list filter - give the filter condition as Caller -> Department is dynamic -> My Deparment.
Please , mark the answer as Correct/Helpful , if this is useful.