reference variable

abhisek
Tera Contributor

I have a reference variable 'incident number' which refers to incident table. When we click on the search glass of that reference field it will open the list of the incidents. The requirement is only incident number, assignment group and short description columns must be shown on that list.

 

Can anyone please help me out.

8 REPLIES 8

Hi @Bhavya11 

By default, it is showing the columns incident number, assigned to, assignment group and short description when variable attribute is empty. I need to remove assigned to as per the requirement.

 

abhisek_0-1733483150152.png

 

Tried this below but did not work. Still it is showing the columns incident number, assigned to, assignment group and short description.

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=number;short_description;assignment_group,ref_ac_columns_search=true

  

Juhi Poddar
Kilo Patron

Hello @abhisek  

  • This is how the Type specification section looks like:

JuhiPoddar_0-1733484434683.png

  • Add this in variable attributes section and save:
ref_ac_columns=number;short_description;assignment_group,ref_ac_columns_search=true,ref_auto_completer=AJAXTableCompleter

Result in portal:

JuhiPoddar_1-1733484509104.png

This works in my PDI. Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps others find the solution more easily and supports the community!"

 

Thank You
Juhi Poddar

 

Hi @Juhi Poddar 

Thanks for your reply.

Yes, it is working from portal but not from maintain item. Is it applicable for a variable which refers to a custom table as well ?

Hello @abhisek  

You are correct! This will work in portal only. If you want to change the layout in maintain items then you directly configure the list layout.

JuhiPoddar_0-1733504140067.png

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps others find the solution more easily and supports the community!"

 

Thank You
Juhi Poddar