Dear Telerik,
I've created a custom merge field and it works fine. Now I d like to add an extra metadata property (e.g. a GUID in string rep.)
I've overwritten the CopyPropertiesFrom method to copy the extra property. It gets inserted into the xaml (when saved), however when doing a 'merge preview', the custom mergefield is copied (a new instance is created) without calling the CopyPropertiesFrom, instead it calls the CopyPropertiesFromCodeExpression method, where I cannot copy the extra meta data property.
So my question is how to create and fully implement extra properties in custom merge fields.
Kind regards
I've created a custom merge field and it works fine. Now I d like to add an extra metadata property (e.g. a GUID in string rep.)
I've overwritten the CopyPropertiesFrom method to copy the extra property. It gets inserted into the xaml (when saved), however when doing a 'merge preview', the custom mergefield is copied (a new instance is created) without calling the CopyPropertiesFrom, instead it calls the CopyPropertiesFromCodeExpression method, where I cannot copy the extra meta data property.
So my question is how to create and fully implement extra properties in custom merge fields.
Kind regards