Get display values from a list collection in a catalog item

Clement Dos San
Tera Contributor

Hello,

How can I get the diplayed values of a list collector ,instead of sys_id, in a catalog item, without a gliderecord to resolve the sys_id.
I tried :

alert(g_form.getDisplayBox("mylistcollector").value);
alert(g_form.getDisplayBox("mylistcollector"));
alert(g_form.getValue("mylistcollector"));
alert(g_form.getDisplayValue("mylistcollector"));
alert(g_form.getReference('mylistcollector'));

var list= g_form.getReference('mylistcollector', getList);
function getList(list) {
alert('gg ' + list.name);
}

Either it does not work, or I have the sys_id

Here is my list collector

find_real_file.png

 

Thank you

Clement

5 REPLIES 5

Clement Dos San
Tera Contributor

Thank you. I already found those links with my lot of searches but found nothing functionnal.
I will try again maybe I missed something