- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2020 10:54 AM
Hi,
I have a List Collector variable on a catalog item's form with attribute set to 'glide_list'. So it displays as a glide list and on load of catalog form it shows up with the lock icon as below (One has to click on the lock icon to expand it and select values):
I would like the display to show up expanded on load of the form as below:
Anyone know how to achieve this?
Thanks!
Solved! Go to Solution.
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2020 11:01 AM
You can use an onLoad Client Script to auto-unlock the variable, such as:
window.setTimeout(openUnlock, 2000);
}
function openUnlock(){
gel('IO:[SYS_ID_OF_YOUR_VARIABLE_HERE]_unlock').click();
}
Here's what mine looks like:
function onLoad() {
window.setTimeout(openUnlock, 2000);
}
function openUnlock(){
gel('IO:571b0111db3ea340049396a9db96199b_unlock').click();
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2020 11:01 AM
You can use an onLoad Client Script to auto-unlock the variable, such as:
window.setTimeout(openUnlock, 2000);
}
function openUnlock(){
gel('IO:[SYS_ID_OF_YOUR_VARIABLE_HERE]_unlock').click();
}
Here's what mine looks like:
function onLoad() {
window.setTimeout(openUnlock, 2000);
}
function openUnlock(){
gel('IO:571b0111db3ea340049396a9db96199b_unlock').click();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2020 11:10 AM
Worked perfectly!! Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2022 08:31 AM
for some reason, it's not working on mine. Can I run some other settings past the experts?
1)I built it as a Catalog Client Script (I actually tried system client script against [sc_req_item] to try getting it to work too).
2)I've tried both settings of 'isolate script'.
3)the variable has these other attributes applied- maybe something interferes?
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=asset_tag;model_category;model;state;substate,ref_ac_columns_search=true,glide_list
4)we're on Rome now
5) I also tried 'Expanded glide_list' on the attributes instead of 'glide_list', but that has a different result that i'm not sure will work for my customer.
function onLoad() {
//Type appropriate comment here, and begin script below
window.setTimeout(openUnlock, 2000);
}
function openUnlock() {
gel('IO:4d9c65dd1b45f0104e587518dc4bcb87_unlock').click(); //this is the IO of the variable you want to "unlock"
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2022 09:40 AM
i've run console and I see the error as "cannot read properties of null(reading 'click').
can't find any other help on that- so maybe someone here?