Modifying Attachment paper clip icon UI Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2020 10:06 PM
Hi,
I want to modify the UI page related to attachment paper clip icon specifically for sc_req_item & sc_request table and not for other tables.
Is there any way I can override the changes for these 2 tables not globally.
Best Regards,
Ram
- Labels:
-
Request Management
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2020 10:47 PM
Hi
there is no way to achieve that, you can only change it globally in the platform.
Regards
Alberto

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2020 04:35 AM
You can do something like this
- First Hide the Attachment Icon from these Tables using a Client Script
- Create Seperate UI Action for Attachments with Icons. You can provide Icons to the UI Actions like this
- https://www.servicenowguru.com/scripting/client-scripts-scripting/button-colors-icons/
- On the UI Action Script, you may use saveAttachments built in function to open a window to Attach. I believe this statement will work on the script, but never tried like that.
- if (typeof saveAttachment === "function" && typeof g_form !== "undefined")
saveAttachment("sc_req_item", g_form.getUniqueValue(), true);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2020 04:39 AM
Hi there,
Do you want to change the behavior of the Attachment Paper Clip or the Icon itself? The Icon I don't know, the behavior of the Attachment Paper Clip can be changed.
https://your-instance.service-now.com/nav_to.do?uri=sys_ui_page.do?sys_id=b1b390890a0a0b1e00f6ae8a31ee2697
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field