I need to disable the preview button on reference field.

Pankaj kr
Kilo Sage

Hi All,

 

I want to disable the i button beside a reference filed on incident form but i am not able to do using 

"Read only click through" as it works for readonly fields. please suggest some solutions.

 

 

Pankakkumar_1-1709115864584.png

 

Thanks,

 

Pankaj Kumar

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Pankaj kr 

 

  1. Navigate to System Definition > Dictionary.
  2. Filter the list to find the reference field of which you want to disable the information icon.
  3. Open the record (eg. Caller)
  4. Add this line to the Attributes: ref_decoration_disabled=true.
  5. Save/Update the record.

 

https://www.servicenow.com/community/developer-forum/how-to-remove-info-icon-from-reference-field-in...

*************************************************************************************************************
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]

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

Hi Atul,

 

I tried using this method but i can't see any change in the field behavior. I think due to unavailability of ref_decoration_disabled in sys_schema_attribute table it is not resolving. 

 

Pankakkumar_0-1709125081495.png

 

Hi @Pankaj kr 

 

I just added this:

ref_decoration_disabled=true

AGLearnNGrow_0-1709135031378.pngAGLearnNGrow_1-1709135043777.png

 

 

*************************************************************************************************************
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]

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

Hi @Pankaj kr ,

 

I tried the approach suggested by @Dr Atul G- LNG and it worked for me.

Screenshot 2024-02-28 at 10.07.10.png

 

Screenshot 2024-02-28 at 10.09.14.png

 

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda