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

Create a onload script

function onLoad() {
//Type appropriate comment here, and begin script below

$j('.icon-info').hide();
}