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-30-2024 08:53 AM - edited ‎05-30-2024 08:53 AM
If you want to hide email compose in workspace, you can hide the mini email compose in the UI builder.
But it depends on your requirements. Please share your business needs, will try to help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2024 03:13 AM
I want to hide this compose email section when HR case and HR task state is closed complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2024 07:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2024 03:06 AM
Hi Sid,
Thanks for sharing but this is to hide UI action completely from a table.
I want to hide the email section in the activity logs on HR workspace only when state is close complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2024 11:30 PM
Hi @Anupriya23 ,
For hiding email mini compose, you must be seeing below in your Configurable Workspace
Click on Activity stream Compose.. On Right side see the "Advanced section"
Expand the Advance section and you will see below
Hover on Show email mini compose and click on Bind Data icon
It will open a pop-up space to write script... On top left see icon <> to write script
Then add your condition within function such as: