variable attribute

harry24
Tera Contributor

I have a requirement where their is one variable which is called as username which is a reference field   I want to add variable attribute on this which fetches the name , dept name and location of the employee . I guess i need to use attribute ref_ac_column . But i dnt know how to do it for reference fields ,can somebody help me

10 REPLIES 10

Hi @harry 

I think it should work, just use reference_field_name.dot_walked_field_name

For ex you want to show department head

ref_ac_columns=name;department;department.dept_head

 

Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.

Will be helpful for others looking for the similar query.

Best Regards
Aman Kumar

@harry 


Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.

Will be helpful for others looking for the similar query.

Best Regards
Aman Kumar

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

like this you can dot walk for department's field

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;department;department.id,ref_ac_columns_search=true

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

No dot walking is not working

which field you want to add?

it should work fine

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;department;department.yourFieldName,ref_ac_columns_search=true

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader