Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How do I make a catalog item variable (type = URL) unlocked (always visible) in the Service Portal?

psenkow1
Giga Contributor

I have a catalog item in the Service Portal that has a variable with type = URL.

The URL defaults to locked.  I want it to always be unlocked, so the users never have to click to unlock it.  I was able to do this in the native ui.  But in the Service Portal it still shows as locked.

Is there a way to make it always "unlocked" in the Service Portal?

What I did that worked for native ui only, was to create a Catalog Client Script:

find_real_file.png

 

 

2 REPLIES 2

Leo8
Mega Expert

Hi psenkow,

 

Try to uncheck "Unlock empty URL fields on form load" on UI Properties.

Maybe this can solve your problem.

For your reference: https://community.servicenow.com/community?id=community_question&sys_id=68129321db101fc01dcaf3231f96199a

 

Best regards,

Leo

Ankur Bawiskar
Tera Patron

@psenkow 

there is no direct solution for this

But you need to use DOM manipulation which is not recommended

Lock/Unlock glide_list and URL Fields With Client Scripts

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader