How to hide preview this record icon on portals

poornima batchu
Tera Expert

Hi all, 

I created a reference variable and I applied a catalog client script on the variable to pull the user data automatically. It is showing the user name along with a preview icon it displays the entire user profile details. How can I able to hide this preview icon.

poornimabatchu_0-1673875946404.png

 

1 REPLY 1

Hardik2109
Tera Guru

Hi @poornima batchu ,

You can remove that reference icon by adding this attribute to the field:

ref_decoration_disabled=true

However, this does it for more than just service portal.

Otherwise, see this thread for a service portal specific option: https://community.servicenow.com/community?id=community_question&sys_id=e02fc3e1dbdcdbc01dcaf3231f96...

Please mark reply as Helpful/Correct, if applicable. Thanks!