How to update LIST type field with multiple values where few values have comma in it?

Suggy
Giga Sage

How to update LIST type field with multiple values where few values have comma in it?

Ex - Values are like this

Support Group 
Enterprise Architects------> This gets updated
Software Team------> This gets updated
Testing (L,C)------> This does NOT get updated because of comma
3 REPLIES 3

Community Alums
Not applicable

Hi @Suggy ,

The glide_list field parses values set as a comma-separated values.


There are several possible options:

  • Remove commas from the display name of the relevant records.

  • Set the glide_list field with the relevant sys_id of the target records.

  • Use a string field to populate the required value.

  • Use a custom separator for values with commas that is then processed using logic within the instance.

    glide_list field parses values set as a comma-separated list. The display value from getDisplayValue() can be customized with a separator by setting the property glide.ui.glide_list.separator to a string.

 

Hi Sandeep,

I have already gone through this link - glide_list (e.g. watchlist) set with display values with a comma in it, are not parsed correctly - S...

 

I didnt get the 4th point. Can you elaborate how it works? (glide.ui.glide_list.separator)?

Suggy
Giga Sage

Anyone?