Novell Home

Removing the Attachment View From WebAccess

Novell Cool Solutions: Tip
By Alan Smithee

Digg This - Slashdot This

Posted: 12 Sep 2000
 

The thing is, you set up your system, and you own it. And you want it how you want it. Well, some of you want, for various and sundry reasons, to keep your people from viewing attachments over the Web. We can tell you how.

However, be warned, this kind of thing is not for the faint of heart. If you don't feel comfortable mucking around in the source directories, and modifying the Java files, move on. To a different tip, that is.

If you are the type to mess around with the deep and dark secrets of your system, here's how to keep users from viewing attachments in the GroupWise 5.5 Enhancement Pack WebAccess:

The upshot is, you edit the msgitem.inc file in the servlets.

COM\NOVELL\WEBACCESS\TEMPLATES\FRAMES directory.COM is under the root of the webserver on NT IIS (Default: INETPUB\WWWROOT) COM is under the JAVA directory on NetScape Enterprise Server (Default: NOVONYX\SUITESPOT\DOCS)

When you're there, cut the blue wire. Just kidding. Really, remove the following section found near the bottom of the file:

A href="/servlet/webacc/{VAR User.context}/{VAR Provider.name}/AREF/{VAR Item.Attachment[attachIdx].id}?action=Attachment.View&- Item.Attachment.id={VAR Item.Attachment[attachIdx].id}&User.context={VAR User.context}&Item.drn={VAR Item.drn}" target="Attach" style="color:{STRING Style.Color[Global.Color.scheme].Action.link}" onclick='popout("/servlet/webacc/{VAR User.context}/{VAR Provider.name}/AREF/{VAR Item.Attachment[attachIdx].id}?action=Attachment.View&- Item.Attachment.id={VAR Item.Attachment[attachIdx].id}&User.context={VAR User.context}&Item.drn={VAR Item.drn}", "attach"); return false;'>[{STRING Item.Action.Attachment.view}]/A>

Remember, and this is very important: Modifying template files is considered customizing and is therefore not supported. You are on your own with this sort of thing. Have fun, but hey, be careful out there.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell