Help: How to remove reference icon on specific fields of catalog item?

Snehal2
Kilo Guru

Hi developers,

Can any one help me on How to remove reference icon(which appears on reference field) on specific fields of catalog item.

Thanks,

Snehal m

 

24 REPLIES 24

Priyanka Chandr
Mega Guru
Hii snehal, Use this code var account = document.getElementById(); account.style.display = "none"; ID can be obtained easily by going into chrome developer tools. Mark it correct and helpful if applicable. Thanks and regards, Priyanka Patil

Hi Priyanka, Thanks for the reply.

Can you let me know how to get ID of the variable?

I used the get the ID as given in above screen shot.(Check in reply given to Ankur for screen shot)

Regards,

Snehal m

Prithviraj Howa
Kilo Expert

Hello,

Please refer these:

https://community.servicenow.com/community?id=community_question&sys_id=63b1cf69db98dbc01dcaf3231f96...

 

https://community.servicenow.com/community?id=community_question&sys_id=e02fc3e1dbdcdbc01dcaf3231f96...

 

Please mark it as Correct and Helpful, if applicable. Thanks!

Warm Regards,

Prithviraj Howal

SNOW Developer

Snehal2
Kilo Guru

I have already gone through the existing community posts,...please help me with the script if possible.

Thanks in advance.

Regards,

Snehal.

AndyLock
Mega Guru

Is this (i) to be hidden from the ServicePortal and/or from the platform?