UI policy / client script not applying on fields

klavan32
Tera Contributor

Hi All,

 

We got into an issue where we are unable to apply onload ui policy to a record and verifed all conditions but still it is not applying.

 

Checked all client scripts but there is nothing thats overriding the ui policies.

Verified through client script that page is loading and responding

 

Kindly help me how to debug which ui policy/ other config is being applied on the record. 

6 REPLIES 6

Aditya02
Tera Guru

hello @klavan32 ,

 

If you are using any variable sets inside the form, check if client scripts and ui  policies exist inside it..

and If possible send your screenshot of what you are unable to process..

 

====================================================================================

If my response got helpful to solve problem then give me Thumsup and Mark it as Correct Answer.

Thanks & Regards,

Aditya

 

 

Hi @Aditya02 

 

I have checked variable set related client scripts and ui policies, nothing is related to them and i can see mandatory logic is applied to same fields and i am not able to find out which config is applied, checked all ui policies and client scripts, dictionary overrides 

Ankur Bawiskar
Tera Patron
Tera Patron

@klavan32 

what debugging did you perform from your side?

did you try to move the logic to onLoad client script instead of onload ui policy?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi @Ankur Bawiskar  yes. i have tried to create a new onload client script and try to make fields read only but it is still not working, checked dictionary overrides as well and don't see it impacting