Document.Save

Downloads the specified document for saving.

Parameters

Provider.name

Specifies GWDOC for the name of the GroupWise WebPublisher provider.

Item.type

Specifies DREF for the Document Reference type.

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 the GWNative format.

Document.section

Specifies the GWContentRoot section.

Returns

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 as follows:

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

Example

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