in workspace, i want to activate option Delete all to attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Im in yokohama version, i want to add a option to "delete all" behind the option "download all" in workspace, anyone knows how can activate it?
I read that in my version, i can activate the option
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
out of the box this is not possible
You can work on some custom solution
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
How?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
I am not UI builder expert.
but you need to find the attachment UI builder component and then make a copy of that and add that logic
https://instanceName.service-now.com/now/builder/ui/edit/pc/728ec88c43fa2110f20fff53e9b8f278/0bd6c17843b47110cc25ff53e9b8f288/4bd685bc43b47110cc25ff53e9b8f27c
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
@EvilRojo This is not available OOB. However, you can achieve with some customisation.
I have followed the below approach earlier to download all attachment when it was not there on workspace earlier -
1. Create the UI Action “Delete All Attachment” and enable for workspace view
2. write custom logic to refer the current record and get all the attachment from sys_attachment table so that way you will get all the attachments for that record
3. Write logic in the same script to delete the retrieved file from the table. Make sure you are checking it properly before taking up the delete action that if has pulled only required attachment associated to that record.
please note the user who is trying to perform the delete operation should have required access to delete.
see if this works for you.
similar type of approach we tried to download all the attachment in Zip folder earlier when it was not there from servicenow OOB.
let me know if it works for you.
✔️ If this solves your issue, please mark it as Correct.
✔️ If you found it helpful, please mark it as Helpful.
—
Shubham Jain
