Use the following functions to form VWAttachment strings to use in expressions for a VWAttachment type. These are most useful for specifying an attachment from an IBM CM8 object store.
Function | What it does |
---|---|
Constructs a string representation of a VWATTACHMENT object. | |
Constructs a string representation of a specific version of a VWATTACHMENT object. |
Constructs a string representation of a VWATTACHMENT object.
Use the following syntax:
"<ATTACHMENT-NAME>" + "|" + "<ATTACHMENT-DESCRIPTION>" + "|" + numbertostring(<ATTACHMENT-TYPE>) + "|" + numbertostring(<LIBRARY-TYPE>) + "|" + "<LIBRARY-NAME>" + "|" + "<ATTACHMENT-ID>"
where: |
ATTACHMENT-NAME |
(String) The name of the attachment stored in the object store or library. |
|
ATTACHMENT-DESCRIPTION |
(String) Information to describe the attachment (Optional) |
|
ATTACHMENT-TYPE |
(Integer) |
LIBRARY-TYPE | (Integer) 0: indicates type not known or not defined 1: indicates Image Services (IS) library 2: indicates Content Services (CS) library 3: indicates Content Engine Object Store 4: indicates IBM CM8 library |
|
LIBRARY-NAME | (String) The name of the object store or library | |
ATTACHMENT_ID | (String) Attachment identifier, such as a GUID. |
Constructs a string representation of a specific version of a VWATTACHMENT object. This applies only to document or stored search attachment types.
Use the following syntax:
"<ATTACHMENT-NAME>" + "|" + "<ATTACHMENT-DESCRIPTION>" + "|" + numbertostring(<ATTACHMENT-TYPE>) + "|" + numbertostring(<LIBRARY-TYPE>) + "|" + "<LIBRARY-NAME>" + "|" + "<ATTACHMENT-ID>" + "|" + "<ATTACHMENT-VERSION>"
where: |
ATTACHMENT-NAME |
(String) The name of the attachment stored in the object store or library. |
|
ATTACHMENT-DESCRIPTION |
(String) Information to describe the attachment (Optional) |
|
ATTACHMENT-TYPE |
(Integer) |
LIBRARY-TYPE | (Integer) 0: indicates type not known or not defined 1: indicates Image Services (IS) library 2: indicates Content Services (CS) library 3: indicates Content Engine Object Store 4: indicates IBM CM8 library |
|
LIBRARY-NAME | (String) The name of the object store or library | |
ATTACHMENT_ID | (String) Attachment identifier, such as a GUID. | |
ATTACHMENT_VERSION | (String) Attachment identifier for a specific version of the attachment. |