- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2023 05:03 AM
Good afternoon, I need a Reference qualifier for a dictionary entry in which only the department of the selected user is filtered. I have this code, but it is not work.
javascript: 'department=' + current.sys_id.u_department
Thanks in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2023 05:48 AM - edited ‎11-29-2023 05:49 AM
Hi,
Please use below:
javascript: 'department=' + current.caller_id.department;
On user table we have OOB department field with name 'department' not 'u_department'.
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2023 05:07 AM
Hi,
Please replace the name of Field in which user is selected in below:
javascript: 'department=' + current.u_field_name.department;
Replace u_field_name by name of your field.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2023 05:15 AM
Sorry, but it is not working.
Thanks for the help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2023 05:29 AM
Hi,
Can you please share your fields configurations?
The field in which you want to show data and the field in which you have selected the user.
I hope both are Reference fields and not the Catalog form Variables.
In case of Variables you need to use
javascript: 'department=' + current.variables.u_field_name.department;
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2023 05:35 AM
I have 2 fields: caller = caller_id and department = u_department.
I have tried all of your codes include this: javascript: 'department=' + current.caller_id.u_department;
but it is still not working.
Thanks