Moving fields from 'Static Zone' to 'Slice Zone'

Describe your question/issue in detail

I have a site with almost 100 blog posts. when i developed it, I was still a starting out on prismic and i built almost every field in Static Zone:

Then, I knew about the slices. Now, we are planning to move to slices for everything. currently, all the post content is in the content field (shown in the image above).

I have now built slices. Is there any way to move all the data already present in a field of static zone to a slice?

Hi @kamranafridi78 ,

Welcome to the community :slight_smile:

If you want to migrate this content to Slices, you would need to run a script to export the content as JSON from the content API, then Map that content to Slices and import using the Migrations API.

This documentation should help you understand better.

Thanks.