...
Info | ||
---|---|---|
| ||
This routine is available since starting with katl-commons 2.5.19 / 2.6.11. |
Syntax
...
admCreateScreen(name, description)
Description
...
Excerpt |
---|
Creates a new screen. |
Parameters
...
Parameter name | Type | Required | Description |
---|---|---|---|
name | string | yes | The screen name |
description | string | yes | The screen description (can be blank) |
Return type
...
string
Returns the id (as a number) of the newly created screen.
Example
...
Example 1
...
Creating a screen:
Code Block |
---|
admCreateScreen("Test Screen", "Test screen description"); |
Example 2
...
Creating a screen with empty description:
...
Info |
---|
The method throws an exception if the name parameter is empty or a screen with the same name already exists. |
See
...
also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|