
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 09:03 AM
According to Hide the attachment [view] link, I should be able to add a system property of glide.ui.disable_attachment_view in order to hide the [view] link on attachments but this isn't working for me.
I added the property as instructed but it doesn't seem to be working as expected. I can still see the [view] link.
I feel like I'm missing something very simple but I don't know what. Why is the glide.ui.disable_attachment_view
not working for me?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2016 02:23 PM
So I'm not sure how everyone else got this to work but I had to open a ticket on HI and support person confirmed that this is a problem. Notes from support:
After further testing, I found this to be a PRB. I was initially confused because when you first add an attachment the [view] link is not present. I noticed after the record is saved, the link reappears. I was able to reproduce this in test instances for both Geneva and Helsinki.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 09:19 AM
Thanks Nia for the update. Can you do cache.do once and check.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 09:25 AM
I did a cache.do and tested again using a private/incognito window in a brand new login session - still doesn't work.
I have tested this on two different instances (my company's dev instance and my personal developer instance). However, I am doing the same actions on both so perhaps I'm simply replicating something wrong or missing the same action on both instances.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 09:27 AM
Which release are you on?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 09:27 AM
Hi Nia,
Let me try this on my instance and get back to you.
Which release is your instance on?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2016 09:35 AM
I've now tried this on two Geneva instances (patch 4 and patch 6) and one Helsinki Patch 2 instance.
I noticed that in the attachment_entry UI Macro on lines 20-22, the variable jvar_show_link is set within a conditional but it is not set anywhere outside of the conditional.
<j:if test="${jvar_edge_invalid == 'true' || gs.getProperty('glide.ui.disable_attachment_view') == 'true'}">
<j:set var="jvar_show_link" value="false" />
</j:if>
I believe this is the problem but I'm not certain since abhi_r says that it works for him.