- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 01-10-2025 11:29 PM
In this article, we will see how to hide/show the "Email" section in the Compose pane for some states.
For hiding the "Email" section permanently, please follow this link : Service Operations Workspace – How to hide the “Email” section in Compose pane?
➡️ Navigate to UI Builder and select “Service Operations Workspace” experience.
➡️ Make sure the “Application” is as per the scope you wanted it to be added.
➡️ Select and the clone the “SRP Record” page variant and deactivate the out-of-the-box.
Note : To know the process of how to clone the page, follow this : Service Operations Workspace – How to clone the landing page?
➡️ In the cloned SRP record, select “Activity Stream Compose” which holds Component visibility, Data, Display & Advanced sections.
In the Advance section, use the below script to display/hide “Show email mini compose” section.
For demo purpose, I have used incident "Resolved" state.
Note: The reason for scripting by replacing the data resource syntax [IF(@data.record.isEmailClientEnabled, "ALWAYS", "NEVER")] is because by default email client is enabled for Incident table.
Reference: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1650420
By doing this modification, we are going to display the email section in “Resolved” state instead of “On Hold – Awaiting Caller” section.
But why doesn’t display as “Inline” section as out-of-the-box? Because the mode validates the display of the components, modify it accordingly as per your needs or you can toggle the “Stacked View” on the compose section.
Kindly mark this article as "Helpful" if this resolves your query.
#ServiceNow #ServiceNowCommunity #ServiceOperationsWorkspace
- 1,358 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Somewhat off-topic, but have you explored how to hide the Post button from this Compose widget? We need our techs to use Save to record any time worked on the record - so need to disable/remove the Post button.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@Kim Sullivan Let me check on it and revert you!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
OK
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@Kim Sullivan @泉玉 I had tried the below steps and it had hidden the "Post Comments" button.
- Make sure the system property "glide.activity.compose.can_post_mandatory_fields" is set to "False" by default
- Create a UI policy and make the journal field mandatory according to the states where you want to hide the "Post Comments" button.
Note : For testing purpose had set the UI policy to "In progress" state. You may try to hide it based on your requirement.
Reference : https://www.servicenow.com/docs/bundle/yokohama-platform-user-interface/page/administer/workspace/ta...