Home > Contents > Index >
Expanded TOC   |    Purpose TOC   |    Annotated TOC   |    Index

 

MiscGetBlob

Returns a blob (binary large object) stored in Content Server.

Syntax

Parameters

authusername (required)
(String) Name of the user to log in, as registered in Content Server.

authpassword(required)
(String) Password for the associated user name.

BLOBHEADER (Optional)
(String) Description of the image format, which corresponds to the mimetype for returned data in the form description/extension. Specify any one of the following possible values: image/jpeg, image/gif, image/jpg.

BLOBTABLE (required)
(String) The name of the CS-Direct table that stores assets of this type. Typically, this is the CS-Direct ImageFile asset type. If you create your own asset type, specify that asset type instead.

BLOBCOL (required)
(String) The name of the column that contains the binary data.

BLOBWHERE (required)
(String) Value of the primary key for the row that contains the binary data.

BLOBKEY (required)
(String) The name of the column used as the primary key. Typically, this is id, unless otherwise defined.

Returns

Blob object; for example, a PDF file. The blob is base-64 encoded and wrapped in XML.

Exceptions

None.

Example

The following Java code loads an article identified by object ID and gets text properties and binary properties.

 

  Home > Contents > Index >

FatWire Web Services Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.