We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Hide activity or journal or worknotes using clientscript setDisplay

Tadz
Kilo Sage

Hi, how can we hide the journal/worknotes/journal field in the sc_req_item table using g_form.setDisplay();

Thanks,

Tadz

1 ACCEPTED SOLUTION

Nope. As far as i know.


View solution in original post

7 REPLIES 7

Nope. As far as i know.


Ahhh I see, Thank you so much Sumeet!


It helped me alot



Thanks,


Tadz


Armin Heinlein1
Giga Expert

You could create a sectionin your form for your acitivity/journal and then hide the section based on a role.



To hide a section:



var isAdmin = g_user.hasRole('x_conym_gov.admin')


if(!isAdmin) {


        g_form.setSectionDisplay('notes', false)


}