- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 07:35 AM
Hello, I am trying to inactivate the attachment icon once a change request is no longer in new state. I researched the following, "To find the sys_id of the attachment icon in ServiceNow, you can right-click the filename of the attachment and select "Copy Sys ID"." I right clicked on the filename of attachment, went to inspect, element and copies the sys-id of the attachment. See screen shot of client script I created. I am not sure If I am copying the sys-id of the attachment icon correctly.
" href="sys_attachment.do sys_id=a2e4e584e0062290a9139c5ebffc08a4
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 08:09 AM
no idea where you got this idea from, however there is an official API method to disable attachments in a client script.
g_form.disableAttachments();
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 08:09 AM
no idea where you got this idea from, however there is an official API method to disable attachments in a client script.
g_form.disableAttachments();
Maik