Copied to clipboard

Flag this post as spam?

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


  • Thomas Eldblom 4 posts 94 karma points
    May 16, 2022 @ 09:32
    Thomas Eldblom
    0

    Sync page restrictions with uSync Complete

    Maybe it is better to ask this question in this channel as it relates to the licensed uSync:

    Is there any way to get uSync to include page restrictions in the serialization? Am I missing something obvious? enter image description here

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    May 16, 2022 @ 09:56
    Kevin Jump
    100

    Hi Thomas,

    if you go to the advance settings for your server you can select "Include Content Config" and then the public access settings will be included as part of the sync.

    https://docs.jumoo.co.uk/usync/complete/publisher/send#advanced

    they do depend on your membership groups/etc existing on your target but if they do then the settings should be synced between servers

  • Thomas Eldblom 4 posts 94 karma points
    May 17, 2022 @ 09:49
    Thomas Eldblom
    0

    I might have been a bit quick to mark this as the answer :) This is not related to uSync.Publisher but to syncing content to and from disk.

    We are using uSync to establish a new developer machine by instaloling a clean umbraco and serializing configuration and test content from disk using uSync. However, when installing a clean dev machine, the content config is not synced from disk.

    Is there a way to serialize content config to disk through "standard" uSync?

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    May 17, 2022 @ 10:26
    Kevin Jump
    100

    Hi Thomas,

    Unfortunately the serializers that sync the content config are part of uSync.Complete.

    but If you have complete then you can set it up to sync these things to and from disk. if the "PublicAccessHandler" is enabled in the config.

    e.g in the usync8.config file add the following to he Default Handler group

    <Handler Alias="publicAccessHandler" Enabled="true" />
    

    n.b It behaves slightly diffrently then the notmal handlers in that it doesn't save a file everytime you update public access you need to run an export inorder for the values to be written to disk - but after doing this it does export and import as expected

  • Thomas Eldblom 4 posts 94 karma points
    May 17, 2022 @ 10:48
    Thomas Eldblom
    0

    Thank you, that worked!

Please Sign in or register to post replies

Write your reply to:

Draft