Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
working with usync for the first time here with the following setup:
Each environment has its own database so first installed Umbraco nuget package in VS without running the installation process and deployed it to staging and production.
Then we have run the installer local on laptop, on staging server and on production server.
So each environment is completely seperated.
I have installed uSync local and disabled import but in the release pipeline to staging and production this should be set to true.
I am using VSTS Devops for CI/CD so was wondering if we can transform the usyncbackoffice.config just like a web config using:
or will this fail and should we do it in another way or do we have to set this to false always and run the import manual on each environment?
We use SlowCheetah plugin file for having config transforms on other files than web.config
thanks will have a look at it!
Worked perfectly Dave! Thx!
there are a couple of things you can transform directly in the web.conifg (and they over take the settings in the file)
<add key="uSync.Import" value="true|false" />
<add key="uSync.ExportAtStartup" value="true|false" />
<add key="uSync.ExportOnSave" value="true|false" />
<add key="uSync.HandlerGroup" value="[groupname]" />
will override the settings in the uSyncBackoffice.config file.
but personally on VSTS i use parameters.xml
which looks something like this :
description="Handler Group for uSync"
and when setup will replace the value from the VSTS Variables (in this case uSync.HandlerGroup)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted