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
Giga 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.

 

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

Sergey Sidorin
Tera Guru

The valid answer is to use attributes:

 

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