How to create a list of objects with editable names

Hi! I want to output a list of objects like this:

    languageName = "English"
    weight = 1
    contentDir = 'content/en'
    languageName = 'Español'
    weight = 2
    contentDir = 'content/es'

How can I edit the names of the above objects (ie “en” and “es”) via the CMS?


Hi there! Welcome to the Netlify Forums, and thanks for your interest in Netlify CMS. Looks like you posted your question a little while ago, but that you haven’t received a solution yet. Here’s where you might get more help: - the site houses our extensive documentation that likely contains helpful information to get you back on track.

netlify cms slack - join our friendly slack channel and chat with other cms pros to get the help you need.

GitHub Issues - think you’ve found a bug, or would like to make a feature request? Make your voice heard here. Netlify CMS is open source - PRs and other contributions are also welcome!

Stack Overflow Check StackOverflow for questions tagged “Netlify CMS” if you don’t get an answer in the Slack or the GH issues. StackOverflow reaches a worldwide audience of knowledgeable people.

Your question will be left open here for anyone to comment - but we encourage you to check out the above resources if you are still looking for a solution!

This isn’t actually a TOM list, it’s an object of objects. You’ll need to use the object widget twice: once for language with en and es nested as fields, which are also objects: They have languageName, weight, and contentDir as fields:

Hi! Thanks for your response. I realize that my question is not clear: I want to use a list widget because I want the ability to add many objects. And I want the object names (like “en” and “es” in my example) to be editable. Is that possible?

I wrote a clearer question about my problem here: ability to edit an object widget's "name" attribute via the CMS · Issue #6479 · netlify/netlify-cms · GitHub


You cannot edit the object names directly, no. You can only edit values with the CMS.
The closest thing to it is probably the variable types list widget, but it won’t output the exact same scheme: