How to disable/hide preview (i) icon on a reference field?

andresgt
Mega Expert

Hi Guys,

Is there a way to achieve this if a user doesnt have a certain role?

Let's say if user has ITIL then he can see the icon, if he doesn't have ITIL then he won't be able to see it.

This is kindof urgent, if anyone has any idea it would help.

find_real_file.png

Thanks

10 REPLIES 10

Hi Andre,

 

This would be an attribute.

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.

What do mean by this?

andresgt
Mega Expert

I managed to hide it through attributes, but still looking to hide it through some sort of function.

Alternative would be to use DOM manipulation with use of Client script something that runs onLoad().

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.

Pratiksha
Mega Sage
Mega Sage

None of this worked on the incident. Not sure y