Address tab from tabbed page

Hello, I have been trying to create a link to a specific tab on a tabbed page in OpenHAB 4.2.2. I have been trying to do this using the format https://<openhab>/page/<page_with_tabs>#tab2 or https://<openhab>/page/<page_with_tabs>?tag=page_tag, but I have not been successful. I would like some help to determine if it is possible to create such a link at all.

To my knowledge, you cannot. The currently visible tab is determined by underlying javascript, something which the user does not have direct access to via the page and widget system.

This could certainly by implemented, so you may consider filing a request in the UI repository.

Thanks @JustinG. Filing a request in the UI repository seems to be the only option.

Try https://<openhab>/page/<page_with_tabs>/<n> with <n>=0,1,2,…

To be honest it sometimes works and sometimes not. Still have not found out when.
Possibly you need a 4.3 milestone … on my main system with 4.2.2 it doesn’t do, but on two of my 4.3.0 systems, it seems to work.

1 Like