Cannot edit in read-only editor

shashitaya
Kilo Contributor

I need to make the "script" field read-only in a table, as described in the attachment. Where can I find the configuration settings to accomplish this?

 

Media.jpg

1 ACCEPTED SOLUTION

M Iftikhar
Kilo Sage

Hi @shashitaya 

Yes, this is possible. To make a Script-type field read-only, you can follow these steps:

  1. Go to System Definition → Dictionary.

  2. Select the table containing the Script-type field (for example, I used the Email Filter table).              

   

                    ifti122_2-1757430599583.png


         3. Open the Dictionary record for the Script field.

 

                    ifti122_3-1757430649090.png

      4. Check the Read-only box click Save.
      5. Open a record in that table and check the field — it should now appear read-only on the form.

 

                         ifti122_4-1757430679616.png


Thanks & Regards, 
Muhammad Iftikhar 

If my response helped, please mark it as the accepted solution so others can benefit as well.


View solution in original post

3 REPLIES 3

GlideFather
Tera Patron

Hi @shashitaya,

 

it seems that record is read-only..

 

Is it script include or what it is? Check whether there is any protection applied...

 

If it is a script include, you will might need to extend it and make your changes there leaving this very record untouched...

 

But more details are needed, it's not clear from your vague description and screenshot. Please tell us more

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Ankur Bawiskar
Tera Patron
Tera Patron

@shashitaya 

what's your actual business requirement?

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

M Iftikhar
Kilo Sage

Hi @shashitaya 

Yes, this is possible. To make a Script-type field read-only, you can follow these steps:

  1. Go to System Definition → Dictionary.

  2. Select the table containing the Script-type field (for example, I used the Email Filter table).              

   

                    ifti122_2-1757430599583.png


         3. Open the Dictionary record for the Script field.

 

                    ifti122_3-1757430649090.png

      4. Check the Read-only box click Save.
      5. Open a record in that table and check the field — it should now appear read-only on the form.

 

                         ifti122_4-1757430679616.png


Thanks & Regards, 
Muhammad Iftikhar 

If my response helped, please mark it as the accepted solution so others can benefit as well.