Disable/Remove info icon for a variable in variable editor

SM16
Tera Expert

Hi Friends,

 

Is there a way to remove the info icon for a specific variable in a variable editor?

 
 

 

 

1 ACCEPTED SOLUTION

Hi @SM16 ,

 

I don't think there is any attribute to hide reference icon for variables which we have for native view fields .However , I have found one KB article please check if it is helpful -

 

KB Article - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0958089

Community Thread - https://www.servicenow.com/community/developer-forum/how-can-i-remove-information-icon-from-a-refere...

 

  If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.

 

                         By doing so you help other community members find resolved questions which may relate to an issue they're having

 

 

Thanks,

 

Astik

View solution in original post

6 REPLIES 6

Astik Thombare
Tera Sage

Hi @SM16 ,

 

There is a property ' glide.ui.reference.readonly.clickthrough' . You need to set it to false 

 

AstikThombare_1-1713626697045.png

 

 

If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.

 

                         By doing so you help other community members find resolved questions which may relate to an issue they're having

 

 

Thanks,

 

Astik

 

I don't want to do that for the entire platform. I must remove that button only for a few reference variables in the backend.

Hi @SM16 ,

 

I don't think there is any attribute to hide reference icon for variables which we have for native view fields .However , I have found one KB article please check if it is helpful -

 

KB Article - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0958089

Community Thread - https://www.servicenow.com/community/developer-forum/how-can-i-remove-information-icon-from-a-refere...

 

  If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.

 

                         By doing so you help other community members find resolved questions which may relate to an issue they're having

 

 

Thanks,

 

Astik

-O-
Kilo Patron
Kilo Patron

The proper way to not show information to people who are not supposed to view that information is ACLs, or - perhaps in this case better suited - Data Filtration.

Data Filtration is an optional component that can be installed on instances and allows defining deny policies on top of allow ACLs.

The idea is that even if users would be able to "use" the reference decorator, they would not be able to view the data they are not supposed to view.

 

I mean if your protection against unauthorized reads are not displaying some HTML nodes in the page, your "protection" will be cracked in seconds by any half-knowledgeable user by executing a curl command.