Forums / Developer / object copy/duplication -> force new attribute value
Alessandro Cipriani
Monday 15 November 2004 2:03:26 am
hi all i have to let the users of my site to duplicate the objects of class x. i added a custom datatype to the class that creates a unique identifier (md5 of currentTyme) for the object.My users will need to duplicate these objects to have a DIFFERENT one with the SAME values but, in order to have a real different object I'd like to have a new identifier for the copied object.
should i modify my datatype? how? should i modify the ezContentObject->copy function?is there a way?
best regardsalessandro