You can't do it in config, but you could feasibly do that in code.
if you wrote your own ContentHandler and ContentSerializer that inherit from the existing contentHandler and contentSerializer then you would only have to override the derserializeProperties method in the serializer to stop the properties from being saved into the content.
Then you could alter the uSync8.config file to use your own custom content handler and it would not sync the properties.
update: So your inhertited versions would be almost empty classes with constructors and the serializer would have a DeserializeProperties method that returned an empty list.
uSync Content Edition
Hello,
I want configure uSync Complete to skip property values of a content and synchronize just a content tree. Is there any way to do that?
Thanks
Hi,
You can't do it in config, but you could feasibly do that in code.
if you wrote your own ContentHandler and ContentSerializer that inherit from the existing contentHandler and contentSerializer then you would only have to override the derserializeProperties method in the serializer to stop the properties from being saved into the content.
Then you could alter the uSync8.config file to use your own custom content handler and it would not sync the properties.
Existing Handler https://github.com/KevinJump/uSync8/blob/v8/8.7-main/uSync8.ContentEdition/Handlers/ContentHandler.cs
Existing Serializer: https://github.com/KevinJump/uSync8/blob/v8/8.7-main/uSync8.ContentEdition/Serializers/ContentSerializer.cs
update: So your inhertited versions would be almost empty classes with constructors and the serializer would have a DeserializeProperties method that returned an empty list.
So i think this would do it:
Thanks for reply Kevin, but how i should bind my custom composer and custom serializer?
Her is an example :
is working on a reply...