Attachment Remove button hide only for change request table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 04:13 AM
Hi ,
Please let me know how to hide/disable attachment the remove button only change request table ?
No user should not able to delete the attachment
Thanks & Regards,
Shravan Kumar
- Labels:
-
Change Management
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2017 02:20 AM
Duly Noted Sir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2017 02:35 AM
That's why suggested the BR in the first place mate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2017 02:51 AM
I know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2017 04:08 AM
Hi, Kalai/Anurag,
Thanks a lot for guiding me through it.
I thought of creating a separate attachment page with the custom code in it so that we don't impact the OOB pages for future sake.
I managed to call the custom attachment page though GlideModal in an onload client script on the specific table.
This works fine for me.
I would really appreciate if you can guide me if this is way out is good practice or not or is it still going to impact few things.
Thanks
Gaurav

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2017 04:37 AM
This is much better but a counter argument will be that this script uses some DOM manipulation. Though I feel this is acceptable as even if this fails, we can still disable the feature without harming anything else. I would try to go for the business rule option first even if it isn't the best way interms of user experience and come to this if the business cannot leave without it.
Tip : Adding a try/catch block for the script similar to yours is always best. Even if the script breaks for some reason, your form will still be functional.