Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,sheading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

deleteAttachmentVersion(pageId, attachmentName, version)

Package

AliasPkg Usage

deleteAttachmentVersion(attachmentId, version)(pageId, attachmentName, version)

Pkg Usage

Description

Excerpt
hiddentrue
Deletes the attachment version.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

(Option 1) pageId

Number

Yes

The ID of the page with the selected attachment.

(Option 1) attachmentName

String

Yes

The name of the attachment whose version will be deleted.

(Option 1) version

Number

Yes

The version number to delete.(Option 2)

Or

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

attachmentId

Number

Yes

The ID of the attachment having the version you want to delete.

(Option 2) version

Number

No

The version number to delete.

Yes

The version number to delete.

Yes

Return Type

Boolean (true/false)

...