Custom Property value lost on copy or import

Vote:
 

I've created a custom property type derived from PropertyData (stored as LongString). It works as expected except wen a page is copied or exported-imported, in which case the property value is cleared. Any clues to what might be wrong? Thanks in advance!

#34677
Nov 11, 2009 20:26
Vote:
 

Ah, of course... The export (and apparently copy too) calls ToString on the property value to serialize it, and I was returning a type that didn't have a ToString implementation leading to the use of the standard ToString (which only returns the type name).

#34816
Nov 17, 2009 12:44
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.