Document.Save

Downloads the specified document for saving.

Parameters

Provider.name

Specifies the name of the GroupWise WebAccess provider, GWAP.

Item.type

Specifies the document Reference type, DREF.

Library.id

Specifies the identifier of the document library.

Document.id

Specifies the document number.

Document.version

Specifies the document number, or one of the following values:

  • Official
  • Current
Document.format

Specifies GWNative.

Document.section

Specifies GWContentRoot.

User.context (Required)

Specifies the context identifier for this user’s session.

Return Values

Returns the original contents of the document.

Remarks

Saving a document from a document reference requires the parameters to be specified in the extra path info of the URL. This is the portion of the URL that follows the name of the servlet and occurs before the question mark.

The parameters need to occur in a specific order:

/servlet/webacc/User.context/Provider/Item.type/Document.Library.Id/Document.id/Download.version/Document.format/Document.section

Example

<A href="/servlet/webacc/xyz/GWAP/DREF/Lib1/6542/Official/GWNative/GWContentRoot?action=Document.Save"> Save </A>