How to hide Compose Email in HR Agent Workspace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2024 02:31 PM
Hi,
Does anyone know if there is an option to hide the 'Compose Email' in Workspace? The onload script hides the email icon in UI16. I'm looking for a similar implementation to do the same in HR Agent Workspace. In my use case, when the HR case state is 'Closed Complete,' the agent shouldn't be able to send emails.
function onLoad() {
var caseState = g_form.getValue('state');
if (caseState == '3') // Closed complete
{
$('email_client_open').hide();
}
}
I tried to control it via the email client attribute set to false, but I can't control it conditionally (when the HR Case state changes to 'Closed Complete'). With this attribute, I can only hide compose email when it is set to false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2024 02:35 PM
Hi @Gangadhar Ravi thank for your reply
Setting the email client to false hides the 'Compose Email' option entirely. But I'd like to hide it conditionally only when the HR Case status is changes to closed complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2024 10:06 AM - edited ‎05-18-2024 10:08 AM
Hi @miro2 ,
Plese check below link may be this will work for you
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2024 03:04 PM
Hi @Community Alums thanks for you reply
Mentioned threads solve this in UI16 or hide it entirely using the Email client attribute setting to false. So, none of these help me with my requirement (hiding it conditionally when HR Case state changes to closed complete).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2024 07:58 AM
Did you find anyways to hide it. I was checking for similar requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2024 08:46 AM