Creating a Simple Custom Element for Kontent.ai

Mar 30, 2023
Kontent.ai

Custom elements give us the ability to blend the content that we manage with external sources to tailor integrations to suit our needs. In this article, I'll explore the basics of how we can make this work.

Kontent.ai provides Custom Elements within the content modelling experience to allow us to enrich our content. I wanted to break this down to the simplest view of creating a Custom Element that simply stores some text so we can see what's happening.

This custom element wouldn't add any value to an actual project, but hopefully, it makes things clear about the basics of getting and setting values.  In future videos, I'll add some more complex examples.

The source code for this (and some other custom elements) can be found on my GitHub: https://github.com/mattnield/kontent-custom-element-samples