- 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:44 PM
Disabling Attachments on a Table
To prevent attachments from being added to records on a specific table:
- Open a record in the table.
- Right-click in the header bar and select Personalize > Dictionary.
- In the list of dictionary entries, select the first record in the list (the record with no Column name entry).
- Add no_attachment to the Attributesfield, separated by commas from any existing attributes.
- See Dictionary_Attributes for more information.
Hiding the Attachment [view] Link
Users can open an attachment by clicking either the file name or the [view] link. The [view] link opens the file from within the browser, which executes JavaScript code as part of the attachment.To hide the [view] link:
- Add the glide.ui.disable_attachment_view and glide.ui.attachment_popup properties. For instructions on adding properties to the platform, see Adding a Property.
- For the glide.ui.disable_attachment_view property, set the Type to true/false and set the Value to true.
- For the glide.ui.attachment_popup property, set the Type to true/false and set the Value to false.
- To return to the default behavior (enable the link), set the glide.ui.attachment_popup property Value to true.
Note: Users can still view attachments by clicking the file name. |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2015 11:25 AM
Thanks it worked for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2017 04:36 PM
i need to display the link to attachment on top instead of related list. how can i do it . thanks in advance