Table plus | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Description
Excerpt | ||
---|---|---|
| ||
Returns CAttachment with the following fields: id, pageId, spaceKey, version, creationDate, lastModificationDate, size, name. |
Returns CAttachment with the following fields: id, pageId, spaceKey, version, creationDate, lastModificationDate, size, name.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
pageId
...
Number
...
Yes
...
The ID of the page the file is attached to.
...
attachmentName
...
String
...
Yes
...
name.
Return Type
Returns CAttachment if the attachment was found and returns null if the page/attachment is missing.
...
Code Block | ||
---|---|---|
| ||
CAttachment attachmentInfo = getAttachment(11800, "attachment.txt"); return attachmentInfo.name; |
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|