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-17-2024 09:26 PM - edited ‎05-17-2024 09:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2024 03:04 AM
Hi @Sid_Takali thanks for your reply
Provided solution is for hiding UI Action "Compose email" and this is fine.
But do you know where I can find configuration to hide the Compose email section? It seems like a UI builder component, but I can't find an option to conditionally hide it (when a case is closed).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2024 04:34 AM
Hi @miro2 I believe you can deactivate it from UI Builder. I didn't have installed HR Agent Workspace in my PDI.
Refer below documents it will help you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2024 07:05 AM
I don't think you can remove that from record page.
Navigate to the table dictionary for the tables you want to hide it on. Set Email client to false in the attributes.