Skip to end of banner
Go to start of banner

getAttachment

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Description

Returns CAttachment with the following fields: id, pageId, spaceKey, version, creationDate, lastModificationDate, size, name.

Return Type

CAttachment

Returns CAttachment if the attachment was found and returns null if the page/attachment is missing.

Example

CAttachment attachmentInfo = getAttachment(11800, "attachment.txt");
return attachmentInfo.name;

See also

  • No labels