Native web page and content hub item selectors reuse in custom modules

Hi there,

We are often developing some customizations to the admin UI to allow XbyK admin users to automate some workflows not necessarily directly related to content publishing but sitting close enough. Say, I need users to be able to select pages or pieces of content from content hub, and based on those do something - sync to third party system, summarize, use as context for some AI operation, generate content for other channels like social media, and many other use cases.

I did a couple of attempts with Claude and KentiCopilot to "re-use" the existing native controls that Kentico are using in admin to select pages and content items, but unsuccessfully. Every time the agent returned back with some made up selector that was kind of working but felt different. I wonder if anyone here had better luck than me and can share a recipe? I really like when our custom UX/UI feels like a native part of the product.

Regards,

Dmitry

Tags:
KentiCopilot Xperience Administration Custom modules

Answers

I have looked into this scenario several times with the same result as you Dmitry.

Although we have the Admin Design Components Lab repository, which is a modified reference library for the React components that power the Xperience by Kentico administration UI, we don't expose the Content item or Page selector React components in our npm packages.

This means they can't be used outside of Xperience rendered forms in the Admin UI.

Like you encountered, it is possible to create something that enables content item selection but there are so many features packed into the native selectors they will be difficult to reproduce and keep up to date as Xperience adds new features.

I'm also interested to hear if others have use-cases for these React selector components in their Admin UI extensions or if anyone has interesting workarounds.

To response this discussion, you have to login first.