How to add values into list collector field dynamically

Rashmi Marathi
Tera Contributor

Hi ,

 

I have a requirement for a field on catalog item which should allow user to select multiple values. Hence I am using a List Collecot field. But the table where I am fetching the values has "user" field as display value other than the field which I need in the list collector i.e. text_value . And if I use ref_ac_column=text_value a column is getting added showing text_value along with user coulmn, but then if any value is selected it's displaying user field in the selected list instead of text_value.

 

I need a way/workaound to show the different column (othe than display field) values in the list collector. I tried addItem method in g_list api. But addItem is causing the automatic selection of added value. It is not adding values in the dropdown list.

 

Is there any other way to add values into list collector dropdown. Please suggest. 

 

RashmiMarathi_1-1712317918095.png

 

RashmiMarathi_2-1712317951400.png

 

 

1 ACCEPTED SOLUTION

Mark Manders
Mega Patron

You will always have the display value there. I tried this a while back myself, but ended up putting the value as first on the popup so they could easily find and select it and after that the field would show the display value. Only way around it is to change the displayvalue to show what it is you need, but that would be for the entire platform, not just this item.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

View solution in original post

1 REPLY 1

Mark Manders
Mega Patron

You will always have the display value there. I tried this a while back myself, but ended up putting the value as first on the popup so they could easily find and select it and after that the field would show the display value. Only way around it is to change the displayvalue to show what it is you need, but that would be for the entire platform, not just this item.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark