Table list filtered with tableChoicesScript doesn't display table names

Sergey Sidorin
Tera Guru

I have a "Table Name" field. If there is no tableChoicesScript attribute, I can see both table labels and table names in the list:

2024-01-19 17_28_20-PMAP0001001 _ Mapper Scheme _ ServiceNow.png

 

 

But if I use tableChoicesScript filter, then only table labels are displayed.

2024-01-19 17_27_33-PMAP0001001 _ Mapper Scheme _ ServiceNow.png

 

Filter example:

2024-01-19 17_26_44-ServiceNow Studio.png

 

Is it possible to use tableChoicesScript filter and display table names?

 

One more question: is it possible to add "-- None --" option to the filtered tables list?

1 ACCEPTED SOLUTION

Sergey Sidorin
Tera Guru

The valid answer is to use attributes:

 

  1. tableChoicesScript=<HelperScriptInclude>
  2. includeNone=true
  3. show_table_names_on_label=true

 

View solution in original post

2 REPLIES 2

PrashantLearnIT
Tera Sage

Hi @Sergey Sidorin 

 

I think we should show both the things because suppose if you want to select user table but you will not be able to select correct one. Above application example also you can check, which one to select you will not be able to decide.

 

Sergey Sidorin
Tera Guru

The valid answer is to use attributes:

 

  1. tableChoicesScript=<HelperScriptInclude>
  2. includeNone=true
  3. show_table_names_on_label=true