OH Deletion of a page / sitemap

  • Platform information:
    • Hardware: Raspberry PI4 B+
    • OS: Buster 2020
    • Java Runtime Environment: 11
    • openHAB version: 3.1
      I created some test pages but I cannot delete them:
      I managed to delete all the items in the page
      but I still have the declaration of the empty sitemap in code such as:

sitemap page_c4842afc34 label=“UI Télécommandes” {
}

and in the lower part of the item code I have

Error: Syntax error at line 2 col 1:

}
^
Unexpected rbrace token: “}”. Instead, I was expecting to see one of the following:

A NL token based on:
_ → _ ● %NL
Sitemap → %sitemap _ SitemapName __ SitemapLabel __ %lbrace ● _ Widgets _ %rbrace
Main → _ ● Sitemap _
A WS token based on:
_ → _ ● %WS
Sitemap → %sitemap _ SitemapName __ SitemapLabel __ %lbrace ● _ Widgets _ %rbrace
Main → _ ● Sitemap _
A nlwidget token based on:
Widget → ● %nlwidget _ Widget$ebnf$1
Widgets → ● Widget
Sitemap → %sitemap _ SitemapName __ SitemapLabel __ %lbrace _ ● Widgets _ %rbrace
Main → _ ● Sitemap _
A lwidget token based on:
Widget → ● %lwidget _ Widget$ebnf$2
Widgets → ● Widget
Sitemap → %sitemap _ SitemapName __ SitemapLabel __ %lbrace _ ● Widgets _ %rbrace
Main → _ ● Sitemap _
A lwidget token based on:
Widget → ● %lwidget _ Widget$ebnf$3 __ %lbrace __ Widgets __ %rbrace
Widgets → ● Widget
Sitemap → %sitemap _ SitemapName __ SitemapLabel __ %lbrace _ ● Widgets _ %rbrace
Main → _ ● Sitemap _

and unable to delete my page
Thank’s
Arpagor

I have the same problem. I have various pages created under Settings- Pages and I can add new pages but can’t delete any.

What am I missing? I need to find a way of deleting them. Thanks.

When on the Pages page click in the double-checkmark in the upper right corner, on the following page you can select pages and delete them.
Confirm you can’t do that.

Got it, that works. Thanks for your advice.

I’m struggling with the same… no way to delete a created page.
However, don’t see / get the double-checkmark in the upper-right corner…

only have search
image

Please show the upper right, not the upper left…

Thx.
Found the (unintuative) way. Sharing the screenshots for others to find…

Once selected find the delete button at the bottom of the screen

6 Likes

Definitely bad UI here.
Is it impossible to do it e.g. gmail style?

  • Show the select box per panel all the time
  • Mouse hover (or always) show the action buttons, like delete.