Read only field is not greyed out on portal.

PK16
Tera Expert

Hello 

I have one field on catalog item and I make it read-only but it is not greyed out. I don't know why.

That field is not editable.

Guys, please suggest something.

Field : Job title.

 

find_real_file.png

1 ACCEPTED SOLUTION

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi ,

Did you get the resolution on this ? I also face the same issue ,better to create the HI ticket for this. In my case even if I create new variable with single line text and make it read only from dictionary level or using UI policy then it makes that field read only but not greyed out. But if I change the field type to reference then it was working fine. May be it is instance issue because of upgrade.

Regards,

Gunjan Kiratkar


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

View solution in original post

16 REPLIES 16

How are you making this field read only

Best Regards
Aman Kumar

using ui policy, catalog client script

Both of them?

I hope you understand client script runs first and then UI policy, so whichever condition you have in UI policy will override client script logic.

Its suggested to keep them in one place, so you can better handle the order of the execution.

There must be some conflict there which  is causing this.

Best Regards
Aman Kumar

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

share the script or UI policy which is making it readonly?

Regards
Ankur

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

find_real_file.png