Versions Compared

Key

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

Syntax

admArchiveProjectVersion(projectKey, versionName, archive)

Package

adm

Alias

Pkg Usage

archiveVersion(projectKey, versionName, archive)

Description

Excerpt
hiddentrue
Archives/unarchives a project version.

Archives/unarchives a project version.

Parameters

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

Parameter name

Type

Required

Description

projectKey

String

Yes

Project key.

versionName

String

Yes

Version name.

archive

Boolean (true/false)

Yes

Flag for archive(true) or unarchive(false).

Return Type

String / Boolean

The return type doesn't have a meaning on server. On cloud it will return true if the version is archived/unarchived and false otherwise.

Note

  1. If projectKey or versionName is empty, an error will be raised.
  2. If project or version does not exist, an error will be raised.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "version_admin_routine" and space = currentSpace ( )
labelsarray_routines