# Copying a list of objects and its sublists

**URL:** <https://forum.bubble.io/t/copying-a-list-of-objects-and-its-sublists/24378>\
**Category:** Database\
**Created:** [February 13, 2018, 4:01am UTC](https://forum.bubble.io/t/copying-a-list-of-objects-and-its-sublists/24378 "2018-02-13T04:01:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rfuentesd](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@rfuentesd](https://forum.bubble.io/u/rfuentesd)\
**Post date:** [February 13, 2018, 4:01am UTC](https://forum.bubble.io/t/copying-a-list-of-objects-and-its-sublists/24378/1 "2018-02-13T04:01:38Z")

</div>

I need to build an app for questionaries. The catch is that the questionaries should be able to be modified by an admin user. Each questionary should have categories, each category would have questions and each question would have options each option with a weight (ex good-3, fair-2, bad-1).

I already have built a structure in which I have a questionary data type with a field made of a list of categories. Each category data type have the name of the category and a list of questions. Each question have the question and a list of options. The options data type has the option name and the weight value (1,2,3).

I build the admin interface to add, delete and edit the categories, questions and options but the problem comes when trying to fill out a questionary. I tried creating a copy of the Categories but the questions inside the categories were the same as in the original categories, so any changes there would affect the original template.

Any suggestion on the estructure I should use or the way to copy a list with copies of its sublists?

Thx

---

<div class="post-metadata">

**Author:** ![alexsstockton](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@alexsstockton](https://forum.bubble.io/u/alexsstockton)\
**Post date:** [February 26, 2019, 7:51pm UTC](https://forum.bubble.io/t/copying-a-list-of-objects-and-its-sublists/24378/2 "2019-02-26T19:51:19Z")

</div>

Bumping this issue, did you ever come up with a solution?

---

<div class="post-metadata">

**Author:** ![rfuentesd](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@rfuentesd](https://forum.bubble.io/u/rfuentesd)\
**Post date:** [February 26, 2019, 9:17pm UTC](https://forum.bubble.io/t/copying-a-list-of-objects-and-its-sublists/24378/3 "2019-02-26T21:17:12Z")

</div>

Not really I havent been able to actually solve this

---

<div class="post-metadata">

**Author:** ![alexsstockton](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@alexsstockton](https://forum.bubble.io/u/alexsstockton)\
**Post date:** [February 26, 2019, 11:00pm UTC](https://forum.bubble.io/t/copying-a-list-of-objects-and-its-sublists/24378/4 "2019-02-26T23:00:11Z")

</div>

I think it can be solved with a series of nested API list workflows, I’ll let you know.

---

<div class="post-metadata">

**Author:** ![alexsstockton](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@alexsstockton](https://forum.bubble.io/u/alexsstockton)\
**Post date:** [February 27, 2019, 4:20am UTC](https://forum.bubble.io/t/copying-a-list-of-objects-and-its-sublists/24378/5 "2019-02-27T04:20:31Z")

</div>

So, I was able to do an actually copy of an object with nested list, multiple levels deep.

Essentially you have to create a series of API workflows that recreate the object from top to bottom using the default copy function.

---

<div class="post-metadata">

**Author:** ![philippe1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/philippe1/32/38163_2.png) [@philippe1](https://forum.bubble.io/u/philippe1)\
**Post date:** [November 17, 2019, 1:27pm UTC](https://forum.bubble.io/t/copying-a-list-of-objects-and-its-sublists/24378/6 "2019-11-17T13:27:20Z")

</div>

I’m doing this but copies are incomplete!
