Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Steve Morgan 1346 posts 4453 karma points c-trib
    Jan 10, 2024 @ 08:11
    Steve Morgan
    0

    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

  • Steve Morgan 1346 posts 4453 karma points c-trib
    Jan 10, 2024 @ 14:37
    Steve Morgan
    100

    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.

Please Sign in or register to post replies

Write your reply to:

Draft