Showing results for 
Search instead for 
Did you mean: 

How to clone an Items object

0 Kudos

I want to clone an Items object! How to do, i don't want to create a new one and copy all data members to the new object!

Is that possible?


Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

have you tried an item.GetByKey(), changed the code and then item.Add()

Havn't tried this myself, but it sounds possible...

Product and Topic Expert
Product and Topic Expert
0 Kudos

I don't thing it will work like this, if you try please let me now!

Otherwise I will say you can do it by saving the item as Xml, changing the code in the Xml file and then loading the file and making Add at the end. This solution I'm sure it works.



Answers (0)