Headless Channels
Way back in November, 2022 we released an Xperience by Kentico Refresh (v23.0.0). It included a small preview feature we were calling "Headless API", which enabled developers to retrieve content from the Content hub over an auto-generated GraphQL API.
That preview feature stuck around until our October 2023 Refresh (v27.0.0) when we brough it back into the product shop to tune it up 🛠️, based on all the feedback we received from partners and customers.
Today, that Headless API is rolling out for everyone to see, as a fully production ready Headless channel capability, reinforcing our multiexperience story with Xperience by Kentico.
Take a look 👀 at the Changelog for the full details of the Refresh.
Dynamic headless channels
Marketers can now dynamically create headless channels, model content, and deliver it over an auto-generated API.
Once created, the headless channels can be queried immediately and are not dependent on the other types of channels - websites and emails - in Xperience by Kentico 👏.
You might ask, "Can I create an Xperience by Kentico solution with only headless channels?" The answer is yes, but we think they show their greatest value when paired with website and email channels 💪.
The API can be queried using an assortment of tools, including Banana Cake Pop, a standalone desktop application which can also be exposed as part of an Xperience by Kentico solution (we recommend disabling this feature for production deployments).
Headless items
Headless items act as a new foundational channel-specific content type, similar to web pages and emails.
They support the same kind of content modeling features that those other channel-specific content types do (web pages and emails), but are represented as a flat list in their headless channel, instead of a tree like website channels.
These headless items form the entrypoint to a new auto-generated GraphQL API that truly reflects the content modeling and authoring decisions of marketing teams.
Headless channel security
All headless API channels are protected behind token based security, meaning these GraphQL API endpoints are not exposed to the open internet and instead can only be accessed by users or applications with authorized security tokens.
The data served from the GraphQL API is also dynamically cached, improving the performance of additional requests, controlling hardware infrastructure costs, and requiring no developer customization 😁.
Use cases
We've designed the headless channel feature to support a large variety of external channels - native mobile applications, marketing tools and micro-apps, content delivery to external systems and services, or even digital billboards - really, anything that can consume a GraphQL API.
What started out as a pathfinder that enabled developers has been enhanced to give marketers control. This means marketers can multiply the impact of their content investments, delivering to more channels, and engaging with an even wider audience of customers 🤩.
Cascade publishing
While it might be a little less exciting, sitting in the shadow of headless channels, we think the new cacade publishing feature in this month's Refresh will bring a smile 😊 to each marketer that works with a rich content graph.
Now, when publishing content that has fields of related reusable content items (items stored in the Content hub), Xperience will check to see if any of those items and any of their related items (traversing the entire content graph) are unpublished.
Xperience also checks any reusable content items referenced in Page Builder widgets when publishing a web page in a website channel. Pretty cool 😲!
All unpublished items will be displayed in a slide out tray for marketers to review and select for inclusion in a cascade publish operation which will publish all selected items together.
This feature improves the marketer's workflow in Xperience by Kentico by both increasing their efficiency 👍🏽 and giving them confidence in the product, whether they're working in the rich content models of complex websites or quickly authoring simple content in microsites.
Other improvements
We've also included a few improvements for developers that will make their code easier to work with and maintain.
First, the IContentItemFieldsSource
is now included in generated code files and represents the core content item fields of reusable content items.
Web page URLs are now accessible in email templates for pages linked in emails.
There are also new data querying APIs and new Azure regions and project tiers along with improved backup downloading in our SaaS environment 🥳.
What's next?
We hope these new capabilities, features, and UX improvements unlock solutions for you and your clients. Try them out, let us know 👋 what you think.
For the next Refresh, you can expect some bulk item actions in the Content hub, several new open source integrations and updates to others, and - of course - other quality of life improvements.
Check back next month for another Xperience by Kentico Refresh review!