# Improve the listing of XClass in the XClass picker

**URL:** <https://forum.xwiki.org/t/improve-the-listing-of-xclass-in-the-xclass-picker/18766>\
**Category:** Development\
**Tags:** proposal\
**Created:** [August 20, 2026, 2:23pm UTC](https://forum.xwiki.org/t/improve-the-listing-of-xclass-in-the-xclass-picker/18766 "2026-08-20T14:23:16Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [August 24, 2026, 1:25pm UTC](https://forum.xwiki.org/t/improve-the-listing-of-xclass-in-the-xclass-picker/18766/7 "2026-08-24T13:25:47Z")

</div>

> [@surli](#):
>
> Do you have examples of such UC? That would help to see the usage for hiding xclasses.

A use case that I will also present in another proposal is the need for a macro allowing non-technical users to pick an XClass, then select a list of properties, sorting criteria and filters. The macro then displays a Live Data.

In this concept, non-technical users are likely going to be confused if the list contains technical concepts.

> [@surli](#):
>
> We could also have categories

Going back to this idea, let’s propose option 5.

## Option 5 - introduce a notion categories for XClasses

This is close to option 5, but instead of a single boolean, it is possible to define a set of categories for a given XClass.

I suggest following the same conventions as the ones we use for the macros categories:

- Two special categories exist: `internal` and `deprecated`, both are hidden for non-technical users
- XClasses without one of these categories are considered as non-technical

In term of UI this implies have a way to filter by categories:

- **Option 5.1** : a second filtering field
- **Option 5.2** : a special `category:` prefix. For instance, `category:photography`, or `meetings category:projectmanagement`. The first query returns any XClass with the photography category, the second query returns any XClass with a name containing `meetings` and part of the `projectmanagement` category

In term of migration we’ll also need to discuss which categories to add on existing XClasses.

I’m +1 for 5.2 as it is less space consuming and I believe we want to keep the XClass picker compact.

---

_[View the full topic](https://forum.xwiki.org/t/improve-the-listing-of-xclass-in-the-xclass-picker/18766)._
