I have a custom event handler that after uSync runs remaps the StartNodeId based on a folder name (creating the media folder if it doesn't exist).
This is to get around different environments having different start node IDs and constantly overwriting each other and breaking the picker for the editors.
Works great - but the source control is still tracking the change and is driving us all nuts.
Is there a way to configure uSync to output data types but not output this value. I've had a look at the settings but can't see anything that fits the bill.
it turns the Ids inside datatypes into paths on export and paths back to ids on import, so if the content / media nodes are not synced it maps them for you.
uSync - Do not output StartNodeId in Datatypes
I have a custom event handler that after uSync runs remaps the StartNodeId based on a folder name (creating the media folder if it doesn't exist).
This is to get around different environments having different start node IDs and constantly overwriting each other and breaking the picker for the editors.
Works great - but the source control is still tracking the change and is driving us all nuts.
Is there a way to configure uSync to output data types but not output this value. I've had a look at the settings but can't see anything that fits the bill.
Steve
Kevin Jump, creator of uSync answered this via Discord:
The dataTypeSerializers package should help here. https://www.nuget.org/packages/uSync.Community.DataTypeSerializers#readme-body-tab
it turns the Ids inside datatypes into paths on export and paths back to ids on import, so if the content / media nodes are not synced it maps them for you.
is working on a reply...