Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | admProjectExists(project_key) | Package | adm | Alias | | Pkg Usage | projectExists(project_key) | |
Description
Excerpt |
---|
|
Returns true if the project exists. |
Returns 'true' if project with provided key exists and 'false' otherwise.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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 |
---|
|
boolean prjExist = admProjectExists("TEST"); |
Code Block |
---|
|
use "adm";
boolean pexists = projectExists("CX1"); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "project_admin_function" and space = currentSpace ( ) |
---|
labels | array_functions |
---|
|