Availability
This routine is available starting with Power Scripts 4.5.8.
Syntax
updateBoard(board, newName, [filterId])
Description
Update the provided board.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
board | string | Yes | The name or the id of the board to be updated. |
newName | string | Yes | The new name of the board. |
filterId | number | No | The id of the saved filter. |
Return type
boolean
True if the board was successfully updated.
Example
boolean isUpdated = updateBoard("Demo", "UpdatedDemo", 10200);
Result: The result will update the filter for the "Demo" board and will change its filter with the one corresponding to the id 10200.