How to enable the OOB info icon next to a custom field which is of reference type

SAS21
Tera Guru

Have a custom field 'Requester on Behalf' which is of reference type pointing to User table. How to enable the out of the box information icon that will preview the user's details ? 

3 ACCEPTED SOLUTIONS

Hello @SAS21 ,

 

This is a read-only field. That is the reason why the icon is not visible. Make the field editable and the icon will appear.

Or you can add the following attribute to the Dictionary record of this field:

readonly_clickthrough=true

 

Regards,

Robert

View solution in original post

@SAS21 

since the field is readonly the i icon won't be show. that OOTB behavior

make this property to false: 'glide.ui.reference.readonly.clickthrough' -> this will be a global change

add this in the field dictionary attributes if you want to show that

readonly_clickthrough=true

Reference field icon 

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

@Robert H This works. Thank you for the help!

 

Its read only at the dictionary level. Its in the screenshot i have provided. 🙂 

View solution in original post

19 REPLIES 19

 

@Dr Atul G- LNG  does the OOB functionality works only on the dictionary override fields? and do we have to proceed with UI macro creation?

Hi @SAS21 

I’m not sure if UI macros work on the portal, but I do know that icons do not work on the portal.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Robert H
Mega Sage

Hello @SAS21 ,

 

Any new reference field will show the (i) icon by default without requiring additional configuration. You need to have selected something, of course, for the icon to appear.

RobertH_0-1744370791874.png

 

Can you provide a screen shot of the populated reference field that has no (i) icon, as well as how you have configured its Dictionary record?

 

Regards,

Robert

 

Hi @Robert H 

We created a custom table that extends Incident table. And the field 'Request on behalf' is a custom filed which is of reference type. the value of 'Request on behalf 'is populated from the record producer

@SAS21 ,

That's nice, but can you provide the screen shots I've asked for?