attachments in workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 07:29 AM
i have a requirement in configuration workspace to remove attachment icon .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 07:48 AM
Hi @VSN
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0813805
Description
The User would like to hide the attachment button (paper clip) on an Agent workspace case form.
Resolution
1. Go to this link:
/sys_declarative_action_definition_list.do
2. Open the record name attachments
3. In the related list "declarative action assignments" you should see two actions. One table global the other incident. If you disable the one for the global table that should deactivate the paper clip on AWS case forms.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 07:57 AM
Hi, I agree with the Atul's solution. Additionally, refer to this property associated for the incident form & table - 'glide.ui.stream_icon.incident'
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 09:27 AM - edited 12-20-2023 07:32 PM
Hey @VSN
You can try the below approach to hide the attachment for a specific table in the SOW Workspace.
Open the Record sow in the UX Macroponent Definition [sys_ux_macroponent]. Under related list Child Screen, you will see the UX Screen Attachment SNC.
Now you can modify the Screen Condition to exclude the table you'd like to hide the Attachment.
Or you can make it more dynamically with System Properties by creating new UX Screen Conditions under related list.
1. Define the name for the Property. => glide.ui.show_attachment_bar.<table_name>
2. New UX Screen Condition with using sample script below. (Make sure the Scripted Condition is checked)
(function checkScreenVisibility(params) {
return gs.getProperty("glide.ui.show_attachment_bar." + params.table, true) == "true";
})(inputProperties);
3. Create a Property for the table you'd like to exclude, and set the value as false.
Sample below for the Incident table.
Now within the SOW (with the page Record sow), you can manage the visibility of the Attachment in the Contextual Sidebar through a system property with any table you'd like to
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 12:41 AM
in my workspace lot of attachements are their, which one i can modify.