How to get two columns to display in a reference field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2017 07:57 AM
In my company we have departments with multiple divisions in each department. Many departments have the same division name, for example Administration is a division in all the departments.
I created a new division table with a reference field to Departments (cmn_department) and added the division reference field to the user table (sys_user) and form. However, I need two columns, division and department in order to differentiate which division to select. I have added attributes to the Division reference field but I'm still not getting Division and Department as columns, only Division. What am I missing?
On the User form:
1. I added Division as a reference field.
2. I selected Configure Dictionary on the division field.
3. In Advanced View I added ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_department,ref_ac_order_by=name to Attributes.
I have tried multiple variations of the attributes, none of it seems to work.
This is in Jakarta.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2018 01:26 PM
Unfortunately I don't have Matt's complete response, but I do have the text from his email.
"Try this in the attributes section instead (replacing "department;id" with your field values): ref_auto_completer=AJAXTableCompleter,ref_ac_columns=department;id,ref_ac_columns_search=true