Unauthorized Changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2018 12:33 AM
In the Change Module to Capture the Unauthorized Changes we have a Check Box to capture the Unauthorized changes.
But this field should be only visible to Change Managers.How to achieve this??
Any Suggestion from anyone??
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2018 12:49 AM
Hi,
If there is any role specific for change managers then use the below onLoad client script:
Script:
if(g_user.hasRole("change_manager"))
{
g_form.setReadonly("u_unauthorized_change",false)//Replace u_unauthorized_change with correct field name
}
else
{
g_form.setReadonly("u_unauthorized_change",true)//Replace u_unauthorized_change with correct field name
}
Regards,
Ram M