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

admProjectExists(project_key)

Package

adm

Alias

Pkg Usage

projectExists(project_key)

Description

Excerpt
hiddentrue
Returns true if the project exists.

Returns 'true' if project with provided key exists and 'false' otherwise.

Parameters

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

Parameter name

Type

Required

Description

project_key

string

Yes

The project key. The value must be unique.

Return Type

Boolean

Returns 'true' if project exists and 'false' otherwise.

Examples

Code Block
languagejs
boolean prjExist = admProjectExists("TEST");
Code Block
languagejs
use "adm";
boolean pexists = projectExists("CX1");

See also

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