You can use attachment template 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 |
---|---|
VWATTACHMENT_TEMPLATE | Constructs a string representation of a VWATTACHMENT object. |
VWATTACHMENT_TEMPLATE_WITH_VERSION | Constructs a string representation of a specific version of a VWATTACHMENT object. |
Constructs a string representation of a VWATTACHMENT object.
"<ATTACHMENT-NAME>" + "|" + "<ATTACHMENT-DESCRIPTION>" + "|" + numbertostring(<ATTACHMENT-TYPE>) + "|" +
numbertostring(<LIBRARY-TYPE>) + "|" + "<LIBRARY-NAME>" + "|" + "<ATTACHMENT-ID>"
where:Parameter | Description |
---|---|
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)
|
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.
"<ATTACHMENT-NAME>" + "|" + "<ATTACHMENT-DESCRIPTION>" + "|" + numbertostring(<ATTACHMENT-TYPE>) + "|" +
numbertostring(<LIBRARY-TYPE>) + "|" + "<LIBRARY-NAME>" + "|" + "<ATTACHMENT-ID>" + "|" + "<ATTACHMENT-VERSION>"
where:Parameter | Description |
---|---|
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)
|
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. |