Copied to clipboard

Flag this post as spam?

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


  • Francis 23 posts 123 karma points
    Mar 21, 2024 @ 13:09
    Francis
    0

    USync Dictionary Import Create Only

    Hello,

    We have implemented "CreateOnly:True" on our USync dictionary import so that it will only add new dictionary items and not modify any existing entries

    At the moment we have a site that is using 2 languages:

    English (US) and French

    For this dictionary item, we only have a value for English at the moment:

    enter image description here

    Now we wanted to add values for the French side of things via the USync Dictionary Import but I wonder if there's away we can prevent overriding the English value?

    Is there a way to just influence the French field?

  • Kevin Jump 2342 posts 14889 karma points MVP 8x c-trib
    Mar 21, 2024 @ 15:21
    Kevin Jump
    100

    Hi,

    Its not something you can do with uSync on its own (well not easily) but You can do this with uSync.Complete.

    If you have two servers, and the "Variant publish" option selected for a server

    enter image description here

    then when you push dictionary items to the other server, you can pick which languages to include

    enter image description here

    And then only the languages you update will be pushed, the other languages will not be overwritten.

    enter image description here

  • Francis 23 posts 123 karma points
    Mar 25, 2024 @ 09:22
    Francis
    0

    Hi Kevin,

    Thank you for your response.

    What if we're doing it just from he config file? Like when a config file has a French value and the French field on the target instance has blank. How do we make it so that the French value in the config will update just the French value in the target instance.

    Would we be able to use uSyncImportingItemNotification handler to influence what properties gets saved/ updated? We used this handler before but that's to exclude certain nodes from the import.

    Regards,

    Francis

Please Sign in or register to post replies

Write your reply to:

Draft