Repeater Metafields Now Available

Cosmic Blog
Cosmic Blog Repeater Metafields Now Available
by Tony Spiro on October 11, 2016

We're excited to announce a new tool that makes it even easier to build content for your websites and apps using Cosmic.  The Repeater Metafield allows you to create groups of Metafields with the ability to “repeat” the group.  This makes it easy to manage blocks of content in an intuitive and scalable way.  Here's how they work...

Let's say for example we would like the ability to add multiple testimonials to a page.  This is a pretty common use-case and usually involves a few content pieces: Quote, Cite and maybe an Image.  To create our Repeater Metafield follow these steps:

1. Go to the object where the Repeater will be added and click "Add Metafield"


2. Click the Repeater icon


3. Add a title and key, then click "Add Repeater Metafield"


4. Add the Quote Metafield (Text Area), Cite Metafield (Text) and Image Metafield (Image) and click Save.

Now add your first Repeater by adding content to the fields:


Now you are ready to add repeating Metafields.  To add another group of Metafields, just click "Add Repeating Item" and another block of Quote, Cite and Image will be available.

Repeater Metafields is another way that we are making content creation intuitive and highly scalable for your websites and applications.  If you have any questions about Repeater Metafields, feel free to reach out to us on Twitter or in our Slack Community.

Read More

How to Build a Cross-Platform Blog Using React Native and Node.js

Cosmic Product Tour

Adding Webhooks in 4 Easy Steps

Cosmic User Roles and Permissions

You may also like


What is headless commerce? What does a headless commerce architecture look like? And how do you build one? And do you need to in the first place? Get all your headless commerce questions answered right here.

We're excited to announce a new way to collaborate with your team on your digital projects. Introducing Workspaces.

Looking to shortlist some headless content management systems? Our comprehensive list will help you narrow down the growing headless CMS landscape.

At Cosmic, it's our mission to help teams of developers and content creators build great content-powered apps together. We're happy to announce the new Additional Users Add-On to offer a flexible pricing option for growing teams.

GraphQL vs. ReST - which works better for your application? This article compares similarities and key differences, and provides considerations for when to choose one or the other.

We're excited to announce some big updates to our branding and website design. We have now changed our name to Cosmic. By dropping the JS from our name, we intend to not only be the best CMS for JavaScript developers, but also for developers using any programming language.

Get Started with Cosmic

Build personal projects for free. Add your team at unbeatable prices.
Start Building Talk to Sales