Open filefontaine opened 3 months ago
Hi,
that's odd, have the same and its 'working' for me 🤔
Its worth noting that the individual relations are not saved automatically (like other bits are) - you have to run an export from the dashboard for the individual relations to appear in the files.
Kevin
Hey, thanks for the quick response. So if i understand i need to have the uSync.Complete ? Or the individual sync is available for free version ?$
I use Usync for Migration some large Umbraco 8 to Umbraco 13 (using the usync migration first).
Its my first time using Usync and i have some difficulties using it. Best, Antoine
Hi Antoine,
it should work with the free tool, its just that you will have to go to the uSync dashboard, and click export for all of the relation types to be written to disk.
I try with a clean export (on "everything") using the Dashboard. But any time i try, the files is like this :
<?xml version="1.0" encoding="utf-8"?>
<RelationType Key="179176a5-0a57-4a5e-8b6b-284187b84491" Alias="contentPageToEntityFR" Level="0">
<Info>
<Name>ContentPageToEntityFR</Name>
<ParentType>c66ba18e-eaf3-4cff-8a22-41b16d66a972</ParentType>
<ChildType>c66ba18e-eaf3-4cff-8a22-41b16d66a972</ChildType>
<Bidirectional>true</Bidirectional>
<IsDependency>false</IsDependency>
</Info>
</RelationType>
but i have one relation :
i have try to find a Relations folder but with no success
Sorry to bother you with that but i really cannot find how to get all my relations
I can't seem to find Relations in the code — can you point it out @KevinJump
Hi,
the serialization code is here https://github.com/KevinJump/uSync/blob/v13/main/uSync.Core/Serialization/Serializers/RelationTypeSerializer.cs#L32
there is a setting it looks for "IncludeRelations" before also serializing the relations into the file here : https://github.com/KevinJump/uSync/blob/v13/main/uSync.Core/Serialization/Serializers/RelationTypeSerializer.cs#L91-L98
Hi @KevinJump , i have made some test in debug mode. And i found that in your other Nuget Usync Migration, the settings for Handlers is not used. Do you need me to open a bug report on your other package ?
About your Site:
I dont know if i do something wrong but In my website Usync dont save the relations for each relationsTypes. I need it for all my custom relations. here the config i set :
Thks in advance !