The CreatorCon Call for Content is officially open! Get started here.

How to make fields read only

Drishti
Tera Guru

Hi Community,

Good Day !

 

In HR Agent Workspace , in the list of HR cases, once we select any cases by clicking on checkbox we can see edit button.

Clicking on edit button, form fields are available . How can we make those fields read only leaving some as editable, please guide.

 

Screenshot attached for more reference .

 

Thanks in advance !

 

 

 

 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Drishti 

I don't think you can do that.

The purpose of Edit is to allow multiple records to be selected and Edit the field so that the field gets updated in all the selected records.

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

Chaitanya ILCR
Mega Patron

Hi @Drishti ,

 

you can only make them read-only only via the dictionary level

open the dictionary of your field and check the read only 

ChaitanyaILCR_0-1749566547804.png

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

Wessel van Enk
Tera Guru
Tera Guru

Hi @Drishti ,

The configurations of the UI actions on the workspace are stored in the ''sys_ux_action_config'' table.
If you look there for the ''HR Workspace action configId'' you will find all the UI actions per table defined for HR Agent Workspace. You should be able to achieve what you want there, but this will be a customization.