
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2016 07:40 AM
Hi, how can we hide the journal/worknotes/journal field in the sc_req_item table using g_form.setDisplay();
Thanks,
Tadz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2016 07:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2016 07:55 AM
Nope. As far as i know.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2016 07:57 AM
Ahhh I see, Thank you so much Sumeet!
It helped me alot
Thanks,
Tadz

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2017 07:04 AM
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)
}