Hello
Is it possible to retrieve a parameter from a page’s URL and use it in the generated page ?
Example when I go to http:///settings/pages/layout/page_testGetParam?day=2026-30-07
version: 1
pages:
page_testGetParam:
tags: []
props:
parameters: []
parameterGroups: []
component: oh-layout-page
config:
layoutType: fixed
fixedType: canvas
label: test GetParam
slots:
default: []
masonry: []
grid: []
canvas:
- component: oh-canvas-layer
config: {}
slots:
default:
- component: oh-canvas-item
config:
x: 20
y: 19
h: 150
w: 659
slots:
default:
- component: oh-label-card
config:
label: =new URLSearchParams(window.location.search).get('day') #not work! display "Error: 'URLSearchParams' is not a function"
Will display 2026-30-07
The goal is to display the weather forecast for the specified day