# Add slice to customtype from repository

**URL:** <https://community.prismic.io/t/add-slice-to-customtype-from-repository/13133>\
**Category:** Prismic Administrative Support\
**Created:** [May 17, 2023, 8:33am UTC](https://community.prismic.io/t/add-slice-to-customtype-from-repository/13133 "2023-05-17T08:33:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![erik.albinsson](https://avatars.discourse-cdn.com/v4/letter/e/ee7513/32.png) [@erik.albinsson](https://community.prismic.io/u/erik.albinsson)\
**Post date:** [May 17, 2023, 8:33am UTC](https://community.prismic.io/t/add-slice-to-customtype-from-repository/13133/1 "2023-05-17T08:33:56Z")

</div>

I work on a couple different Prismic repositories and usually when creating a new customtype there is a button for adding slices "From this Repository" into the slice-zone. But for the repository i am working on currently i only have the options of creating a new slice, or from "slice-machine". What would i need to do to be able to simply copy over slices into this new customtype?

I am not using slice-machine for any of these repositories.

---

<div class="post-metadata">

**Author:** ![kris](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kris](https://community.prismic.io/u/kris)\
**Post date:** [May 17, 2023, 9:01am UTC](https://community.prismic.io/t/add-slice-to-customtype-from-repository/13133/2 "2023-05-17T09:01:10Z")

</div>

Hi Erik,

I'm experiencing the same problem and posted about this in another post - [Legacy builder - I don’t have the ability to select slices from other custom types anymore](https://community.prismic.io/t/legacy-builder-i-don-t-have-the-ability-to-select-slices-from-other-custom-types-anymore/13112)

---

<div class="post-metadata">

**Author:** ![erik.albinsson](https://avatars.discourse-cdn.com/v4/letter/e/ee7513/32.png) [@erik.albinsson](https://community.prismic.io/u/erik.albinsson)\
**Post date:** [May 19, 2023, 9:37am UTC](https://community.prismic.io/t/add-slice-to-customtype-from-repository/13133/4 "2023-05-19T09:37:03Z")

</div>

Hey Kris,

Have you been able to solve this yourself yet? I am thinking about simply copying over all the data from the _json editor_, but don't know if there are any disadvantages with that, and also always scary to mess around to much with that stuff 😅

---

<div class="post-metadata">

**Author:** ![kris](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kris](https://community.prismic.io/u/kris)\
**Post date:** [May 19, 2023, 5:07pm UTC](https://community.prismic.io/t/add-slice-to-customtype-from-repository/13133/5 "2023-05-19T17:07:37Z")

</div>

Hey @erik.albinsson - the only reliable way is to copy the JSON representing the slice from one custom type and paste it into the other custom type.

However, I'm doing quite a bit of refactoring at the moment so I definitely don't want to continue doing this as it's eating up my speed/productivity.
