object screenitem.updatebyposition(array screenItems)
This method allows to update screen items in the given screen cells. If a cell is empty, a new screen item will be created.
(array) Screen item properties to be updated.
screenid properties must be defined for each screen item, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
(object) Returns an object containing the IDs of the updated and created screen items under the
Change the resource ID for the screen element located in the upper-left cell of the screen.
CScreenItem::update() in ui/include/classes/api/services/CScreenItem.php.