Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to hide icon for reference field in portal?

ManikandanP7586
Tera Contributor

I want to hide the icon for a reference field in the portal view (Form Widget), but it should remain visible and functional in the form view. Is there any out-of-the-box (OOTB) functionality available to achieve this?

1 ACCEPTED SOLUTION

debendudas
Mega Sage

Do you want to hide the ( i ) icon from reference fields like the one shown below??

debendudas_0-1761829147022.png

 

You can use the following CSS on the page:

.field-has-reference .add-on {
    visibility: hidden; /* display: none; breaks the field layout */
}

 

But just out of curiosity - why do you want to hide it?

 

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up👍

View solution in original post

7 REPLIES 7

ManikandanP7586_0-1762253977517.png

In Form Widget

debendudas
Mega Sage

Do you want to hide the ( i ) icon from reference fields like the one shown below??

debendudas_0-1761829147022.png

 

You can use the following CSS on the page:

.field-has-reference .add-on {
    visibility: hidden; /* display: none; breaks the field layout */
}

 

But just out of curiosity - why do you want to hide it?

 

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up👍

Don't want to expose other information