# Programmatically replace old slice with new slice across ≈200 documents?

**URL:** <https://community.prismic.io/t/programmatically-replace-old-slice-with-new-slice-across-200-documents/11174>\
**Category:** Developing with Prismic\
**Created:** [September 23, 2022, 12:54pm UTC](https://community.prismic.io/t/programmatically-replace-old-slice-with-new-slice-across-200-documents/11174 "2022-09-23T12:54:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [September 23, 2022, 11:41pm UTC](https://community.prismic.io/t/programmatically-replace-old-slice-with-new-slice-across-200-documents/11174/2 "2022-09-23T23:41:44Z")

</div>

Thanks for sharing your use case @dan.duett. We've had a couple of similar posts about this here in the forum:

> [@Migrating to Slice Machine](https://community.prismic.io/t/migrating-to-slice-machine/11130/3):
>
> Hello @seanl. Thanks for reaching out. There is no official procedure or guide to migrate from the legacy builder to Slice Machine. We will give you a public announcement if this changes in the future. Thanks.

---

_[View the full topic](https://community.prismic.io/t/programmatically-replace-old-slice-with-new-slice-across-200-documents/11174)._
