Andrew.T
(Andrew.T)
April 11, 2021, 10:40pm
1
I accidentally broke Main UI by adding ‘//’ in custom widget yaml file
Now I’m getting error in browser console:
Failed to execute ‘setAttribute’ on ‘Element’: ‘// title’ is not a valid attribute name.
Is it possible to remove or edit custom widget through file system, db, etc.?
Thanks!
JustinG
(JustinG)
April 11, 2021, 10:50pm
2
Welcome to the forums Andrew.
Yes, it is possible. Json formatted files for most OH info are found the the ./userdata/jsondb
folder. In this case the file you are looking for is the uicomponents_ui_widget.json
. BEFORE you try this, check out the Editing the JSONDB, a last resort section of the Rich’s post here for some safety tips:
EDIT: Added more content to the editing the JSONDB section
EDIT: Added the “Don’t Wait, Try it Out” section
EDIT: Added autoupdate and persistence sections
This is going to be a relatively sparse set of notes, tips and tricks, and other advice for setting up openHAB 3 through the UI. It will eventually be turned into a full tutorial and perhaps added as an addendum to the Getting Started Tutorial. But I don’t want to wait before getting some of these out in the open. It’s mostly just notes ri…
2 Likes
system
(system)
Closed
May 23, 2021, 2:50pm
3
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.