# Wholesale object cloning/creating

**URL:** <https://community.datagerry.com/t/wholesale-object-cloning-creating/247>\
**Category:** Report a Bug\
**Created:** [January 25, 2021, 5:38am UTC](https://community.datagerry.com/t/wholesale-object-cloning-creating/247 "2021-01-25T05:38:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcinw](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@marcinw](https://community.datagerry.com/u/marcinw)\
**Post date:** [January 25, 2021, 5:38am UTC](https://community.datagerry.com/t/wholesale-object-cloning-creating/247/1 "2021-01-25T05:38:48Z")

</div>

Hello,  
Maybe in some time you could think about wholesale object cloning.  
Sometimes that function could be useful  
Or wholesale object creation. Sometimes  
You need in one object type createas many object which have many the same parameters and only 1/2/3…etc difference. Then could be 2 options:  
when You create/cloning you could change/ create for each one separately that’s parameter and the same for every one  
or  
cloning/creating fields where all the common features are, and next move in which You could change from edit one object this field which You want.

---

<div class="post-metadata">

**Author:** ![anon3483405](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@anon3483405](https://community.datagerry.com/u/anon3483405)\
**Post date:** [January 25, 2021, 9:58am UTC](https://community.datagerry.com/t/wholesale-object-cloning-creating/247/2 "2021-01-25T09:58:01Z")

</div>

Hi @marcinw ,

Since I’m not quite sure yet if I understand the function correctly a short usecase:

> You have an object type with ~10 fields and you need to create 5 objects which share multiple field contents.Then you can create an object with these values and by a setting say “create me this object x 5 times”.

Did I understand this correctly?  
The same applies to cloning objects, of course.

---

<div class="post-metadata">

**Author:** ![marcinw](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@marcinw](https://community.datagerry.com/u/marcinw)\
**Post date:** [January 25, 2021, 12:18pm UTC](https://community.datagerry.com/t/wholesale-object-cloning-creating/247/3 "2021-01-25T12:18:35Z")

</div>

Hi @anon3483405  
First, thanks for fast respond 🙂  
i will try explain for examples usecases what i mind in topic. I have many objects in one object type " testowy" which has fields:  
Task to do  
Completed  
Flagship company  
Backup company  
Start Date  
End Date  
Password  
Opis

1. 

In first case i want from one of them clone and create 3-10 new objects

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/datagerry/original/1X/a3653b41eb338ac82347e7543f332f463e217416.png)  
I would like all fields to be cloned and inserted into new objects except Start Date and End Date because these fields i want during cloning set new value

1. 

in second case i want clone few objects in one step. I want to mark from list of objects few objects and similar like (bulk change) (bulk clone) and during clone everything except fields Start Date and End Date, which i want set new value.  
example:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/datagerry/original/1X/7a7f3beafccfa9bee5c706f48c888bdbf21aa39f.png)

1. 

in third case cloning few objects like in second case but no changes

1. 

in fourth case i want wholesale create objects example 4 or more which has many value in fields the same but some from them no

Sorry for me is a little difficult to explain every case which i want and what i mean 🙂  
I hope now You a little understand my usecases

---

<div class="post-metadata">

**Author:** ![anon3483405](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@anon3483405](https://community.datagerry.com/u/anon3483405)\
**Post date:** [January 25, 2021, 1:50pm UTC](https://community.datagerry.com/t/wholesale-object-cloning-creating/247/4 "2021-01-25T13:50:55Z")

</div>

Ah ok, I understand what you mean.

We don’t have such a function implemented at the moment, but you could do a workaround by exporting the objects to, for example, JSON, deleting the fields you don’t want to take over and then importing them again as new objects.

In the upcoming version 1.5.0 we have implemented a function which allows the selected export from the object table. This would eliminate the necessity of deleting the unused fields.

But I can add your requested function to our backlog. In the first concept this does not seem to be very complex. I’ll see if we can maybe include this one in one of the next sprints.

---

<div class="post-metadata">

**Author:** ![marcinw](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@marcinw](https://community.datagerry.com/u/marcinw)\
**Post date:** [January 26, 2021, 5:27am UTC](https://community.datagerry.com/t/wholesale-object-cloning-creating/247/5 "2021-01-26T05:27:53Z")

</div>

Hello,  
iI would be good if you could use these ideas in the app.  
It is always better to work with the application string than to perform exports, dry correct data in csv / json and, for example, complete reference fields in csv which are only numbers. In the application it is much easier because you can see information about the object we are looking for.

---

<div class="post-metadata">

**Author:** ![anon3483405](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@anon3483405](https://community.datagerry.com/u/anon3483405)\
**Post date:** [January 26, 2021, 11:48am UTC](https://community.datagerry.com/t/wholesale-object-cloning-creating/247/6 "2021-01-26T11:48:07Z")

</div>

Hi @marcinw,  
I have added the feature request to our backlog.  
[[NET-870] Multiple creation and cloning of objects](https://nethinks.atlassian.net/browse/NET-870)

---

<div class="post-metadata">

**Author:** ![marcinw](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@marcinw](https://community.datagerry.com/u/marcinw)\
**Post date:** [January 26, 2021, 1:08pm UTC](https://community.datagerry.com/t/wholesale-object-cloning-creating/247/7 "2021-01-26T13:08:37Z")

</div>

Thank You @anon3483405.  
This is good news

---

<div class="post-metadata">

**Author:** ![adnan.smajic](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/adnan.smajic/32/754_2.png) [@adnan.smajic](https://community.datagerry.com/u/adnan.smajic)\
**Post date:** [April 3, 2025, 4:31pm UTC](https://community.datagerry.com/t/wholesale-object-cloning-creating/247/8 "2025-04-03T16:31:15Z")

</div>


