How to Show Preview Icons on Inactive Records

jakegartenberg
Tera Expert

We would like to show the preview icons next to reference fields on our form even when a ticket is closed.

 

Currently the icons go away once the record is inactive, how can we show those preview icons at all times?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@jakegartenberg 

that's OOTB platform behavior.

if the ticket is closed all fields are readonly and it hides/removes the preview icon

Steps

1) add this in the dictionary attribute of those reference fields and it will start showing up

readonly_clickthrough=true

AnkurBawiskar_0-1746548335437.png

 

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@jakegartenberg 

that's OOTB platform behavior.

if the ticket is closed all fields are readonly and it hides/removes the preview icon

Steps

1) add this in the dictionary attribute of those reference fields and it will start showing up

readonly_clickthrough=true

AnkurBawiskar_0-1746548335437.png

 

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

jakegartenberg
Tera Expert

thank you this works!