Rendering the Key Text Field

The Key Text field allows content writers to enter a single string.

Before Reading

This page assumes that you have retrieved your content and stored it in a variable named document

Get the Key Text value

Here's an example of how to retrieve and render a Key Text field. In this case, the Key Text field has the API ID of author_name.

// In a React component
render() {
  return <span>{}</span>

Was this article helpful?
Not really
Yes, Thanks

Can't find what you're looking for? Get in touch with us on our Community Forum.