how make assigned to visible false and read only in alm_hardware

konijetisumanth
Giga Guru

hi 

i have to make "assigned" to visible false and read only if "asset function" field is 'shared' in alm_hardware table. and the user should not be able to edit the "assigned to" if "asset function" is 'shared' in list view of the tables also.

 

and if the user selects other than shared in asset function , then assigned to should be visible and editable in list and form level.

1 REPLY 1

Robbie
Kilo Patron
Kilo Patron

Hi @konijetisumanth,

 

This looks like a duplicate of - how to make assigned to visible false and read only true as per asset function in alm_hardware 

 

Here's my response to that just in vcase it gets lost in the thread:

 

You have various options available to you control a fields visibility and read only property from client scripts, UI Policies and ACLS to name just a few.

Based on your high level, a UI Policy would be you best option. UI Policies are best practice for Client Side controls as they are ran last on the execution list.

Have you tried implementing a UI Policy? Check the following SN Docs link for an example and video of how to create a UI Policy.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.


Thanks, Robbie

 

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/form-adminis...