Headless CMS > Essentials
Clone Content Model
Learn how to clone a content model in Headless CMS.
- how to clone a content model
Webiny allows you to create a new content model by cloning an existing content model. All the fields, validations, and other settings are copied over from the original content model to the clone content model.
In this tutorial, we will learn how to clone a content model. As an example, we will create a content model with the following attributes by cloning an existing content model:
| Attribute | Value |
|---|---|
| Name | Virtual Product |
| Group | E-Commerce |
| Description | Demo Virtual Product Content Model for E-Commerce project |
Prerequisites
To follow this tutorial, you need the Product content model to clone it. If you don’t have the Product content model, please follow the Create Content Model tutorial to create it.
Clone Content Model
From the Side Menu, Click Content Modeling > Models.
✔️ The Content Models screen opens.
Click the Kebab Menu Icon ( ⁝ ) on the Product content model.
✔️ Menu opens with Clone, Export, and Delete options.
Click Clone.
✔️ The Clone Content Model screen opens.
In the Name textbox, type Virtual Product.
In the Singular API Name textbox, type VirtualProduct.
In the Plural API Name textbox, type VirtualProducts.
In the Content model group drop-down, if you have the E-Commerce group, click it, else click Ungrouped.
In the Icon dropdown, click globe icon (🌐).
In the Description textbox, type Demo Virtual Product Content Model for E-Commerce project.
Click + Clone.
✔️ Virtual Product content model is created.