- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2015 10:16 PM
Hi,
I have implemented a 'defined relationship ' to show all attachments in a requested item and catalog task form under tabbed
sections. I would like to hide the list of attachments that shows up at the top of the form by default. Any one knows how to
do this?
Thanks,
Debashree
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2015 10:40 PM
Hi Debashree,
You can hide attachment link by this:
$$('img[title="Attachments..."]')[0].up().up().down().hide();
For hiding attachment section, You need to write again custom javscritp code.
document.getElementById('header_attachment').style.display="none";
As well as you have to hide attachment section line
for this :
document.getElementById('header_attachment_line').style.display="none";
Put these 2 lines on any onload client script.
-
Cheers,
Akash Rajput

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2015 10:40 PM
Hi Debashree,
You can hide attachment link by this:
$$('img[title="Attachments..."]')[0].up().up().down().hide();
For hiding attachment section, You need to write again custom javscritp code.
document.getElementById('header_attachment').style.display="none";
As well as you have to hide attachment section line
for this :
document.getElementById('header_attachment_line').style.display="none";
Put these 2 lines on any onload client script.
-
Cheers,
Akash Rajput
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2015 09:58 AM
Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2016 11:17 AM
Hello,
I have a UI Formatter() on my form named "final report button". Is there a way we can hide it?
I tried this piece of line but it didnt work.
document.getElementById('final report button').style.display="none";
Please let me know where am i going wrong.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2016 11:44 AM
Hi Keerthana,
Can you share your UI Formatter code? And if you don't mind can you give me the access of your dev instance so that I can look into the code and hide it for you.
--
Cheers,
AR