References qualifier Dictionary entry

Tomas Linde
Tera Expert

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.

1 ACCEPTED SOLUTION

Hi,

Please use below:

javascript: 'department=' + current.caller_id.department;  

On user table we have OOB department field with name 'department' not 'u_department'.

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

5 REPLIES 5

Anil Lande
Kilo Patron

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.

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Sorry, but it is not working.

Thanks for the help

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;
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Tomas Linde
Tera Expert

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