- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 12:44 AM
Hi , I have created a reference type variable in a catalog form , I want to show a column value of the table in the the first column in reference list and another column value in the 2nd column in the reference list , how can I achieve this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 12:53 AM
Hi Amit,
Use
ref_ac_columns=email,ref_ac_columns_search=true,ref_ac_order_by=name,ref_auto_completer=AJAXTableCompleter
this syntax to show multiple columns in reference field , specify comma separated list of columns to "ref_ac_columns" this attribute in reference type specification of catalog item
Please Mark it as correct/helpful if this helps you.
Thanks,
Akshay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 12:53 AM
Hi Amit,
Use
ref_ac_columns=email,ref_ac_columns_search=true,ref_ac_order_by=name,ref_auto_completer=AJAXTableCompleter
this syntax to show multiple columns in reference field , specify comma separated list of columns to "ref_ac_columns" this attribute in reference type specification of catalog item
Please Mark it as correct/helpful if this helps you.
Thanks,
Akshay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 03:20 AM
hi , how to order those 2 column , suppose those 2 column names are column1 & column2
I have wriiten like this - ref_ac_columns=column1;column2,ref_ac_columns_search=true,ref_ac_order_by=column1;column2,ref_auto_completer=AJAXTableCompleter
but it is still showing column2 first then column1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 03:46 AM - edited ‎05-12-2023 03:47 AM
Hi Amit,
It's the possibility that column 2 might have display=true set in reference table that's why it's always showing first. Please check this in the table you are referring.
Please mark this correct/helpful if this helps you
Thanks,
Akshay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2023 01:39 AM
hi it worked thanks