- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 04:24 AM
Hi Experts,
I'm trying to configure a catalog variable which uses a reference qualifier to show multiple columns in drop down list,
i'm using the below mentioned attributes,
ref_auto_completer=AJAXTableCompleter,
ref_ac_columns =asset;task;location,
ref_ac_columns_search=true,
ref_ac_display_value=true
but it's showing an additional column "sys_created_on"
display value on referenced table for "sys_created_on" field is false.
Kindly guide me to navigate through this requirement.
Regards,
Varun Sharma
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 12:55 AM - edited 11-23-2023 12:59 AM
In the Reference variable type, the first column is always the display value.
And the Reference fields look for the display value in the following order:
- A field with display=true in the system dictionary on the lowest sub-table for extended tables.
- A field with display=true in the system dictionary on the parent table.
- A field named name or u_name.
- The Created on field of the referenced record.
In your situation, since there's no field marked with Display as true in the table, the Created on field will be utilized.
So let's check the Display to True for one field (Ex: Asset) that you'd like to set as the display value. This will result in the Asset becoming the first column.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 02:40 AM
Hello,
Make sure to check on alm_asset table display variable not the table you have this reference field on.