This page is part of archived documentation for openHAB 3.3. Go to the current stable version

# oh-canvas-layer - Canvas Layer

Layer for grouping widgets in canvas

# Configuration

# General

# layerName Name TEXT

Layer name (for editor)

# preload Pre-load BOOLEAN

Pre-load layer contents so that switching layer visibility is faster and dynamic widgets are immediately displayed in their current state. Initial page load might be longer (default false)

# Visibility Options

# visible Visible TEXT

Enter an expression to hide the widget conditionally or false to never display it

# visibleTo Visible only to TEXT

Role(s) this widget will be visible to (in the code view you can restrict to specific users with the user:userid syntax).
PLEASE NOTE: this should NOT be considered a security feature! Items can still be controlled by other means.

Options:
role:administrator
Administrators
role:user
Users