Hiding Activities (not in a section) on the Incident form based on role

MWright1
Giga Guru

Hi all,

 

I would like to hide Activities (Formatter) when Incident is loaded (onload) via Client Script.

 

I know I can push this formatter to a section and then hide the section.  I do not want to do this because this Activities is present on Mobile as well, and it is NOT on a section (users prefer it this way).

 

Is there a way via onload client script to hide the Activities formatter based on role (only if this is Incident table), much like you do with the section; i.e., g_form.setSectionDisplay('activities', false); 

 

Thanks,

 

M

 

 

1 REPLY 1

Claude DAmico
Kilo Sage