Views the specified attachment.
Specifies the context identifier for this user's session.
Specifies the name of the GroupWise WebAccess provider: GWAP.
Specifies the type of the item:
Specifies the identifier of the attachment to be saved.
Specifies the identifier of the item to which this attachment is associated.
Returns an HTML version of the attachment, if a conversion is possible.
Viewing an attachment requires that some of the parameters be specified in the extra path info attribute of the URL. (The extra path info attribute is the portion of the URL that follows the servlet name and precedes the question mark.)
The parameters must to occur in the following order:
/servlet/webacc/User.context/Provider.name/Item.type/Item.Attachment.id
If Item.type is AREF, an HTML version of the attachment is returned (if a conversion is possible). If Item.type is HREF, the document is returned in its native format. If an appropriate viewer exists on the user's machine, the document is displayed in that viewer. Otherwise, the user is asked to save the file to disk.
<A href="/servlet/webacc/qopkOafrnfAq/GWAP/AREF/1? action=Attachment.View&Item.Attachment.id=1&User.context= qopkOafrnfAq&Item.drn=1773z3z1757"> View </A>