Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Expand the list collector without locking

Pallavi65
Tera Contributor

Hi all,

 

I have created a List collector variable with an attribute glide_list.

So it is just locked when I present the form before a user. 

Can some one tell me how to make it expanded when the form is loaded?

 

 

Regards,

Pallavi

5 REPLIES 5

Mohith Devatte
Tera Sage
Tera Sage

hELLO @Pallavi65 ,

YOU CAN follow this link to do it via on load client script by controlling the click behaviour.

https://servicenowguru.com/scripting/client-scripts-scripting/lock-unlock-glidelist-url-fields-clien...

 

But if you want it to happen system wide you can do it via property

First, the system properties. These can be found by navigating to ‘System Properties -> UI Properties’. Obviously they’re very simple to set, but they will apply system-wide, which limits their usefulness in many cases.

  • ‘Glide lists start out locked’ (glide.ui.glide_list.start.locked) – Controls the default lock behavior of ALL glide_list fields on form load

 

Hope this helps 

Mark the answer correct if this helps you 

Thanks

Hi Mohith,

 

I tried it but it's not working.

Please see the On Load CS written:

 

Pallavi65_0-1693402554887.png

 

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Pallavi65 ,

Can you please check below thread as well :

Expand Catalog Variable List Collector 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Hi Gunjan,

 

I tried it but it's not working,

 

Regards,

Pallavi