I use this code to copy data from one Data Class to another :
sources.dataClass1.attribute1 = sources.dataClass2.attribute1;
it work for all attribute type except image, how to copy image attribute from one data source to another ?
Regards,
Sam
I use this code to copy data from one Data Class to another :
sources.dataClass1.attribute1 = sources.dataClass2.attribute1;
it work for all attribute type except image, how to copy image attribute from one data source to another ?
Regards,
Sam
It works for me using this script :
var ds1 = ds.dataClass1.first();
var ds2 = new ds.dataClass2();
ds2.image = ds1.image;
ds2.save();`