object screen.create(object/array screens)
This method allows to create new screens.
(object/array) Screens to create.
Additionally to the standard screen properties, the method accepts the following parameters.
|screenitems||array||Screen items to be created for the screen.|
|users||array||Screen user shares to be created on the screen.|
|userGroups||array||Screen user group shares to be created on the screen.|
(object) Returns an object containing the IDs of the created screens under the
screenids property. The order of the returned IDs matches the order of the passed screens.
Create a screen named "Graphs" with 2 rows and 3 columns and add a graph to the upper-left cell.
Create a screen with two types of sharing (user and user group).
CScreen::create() in ui/include/classes/api/services/CScreen.php.