Possible to avoid "Save" on uSync License after de...
# help-with-umbraco
s
We have our uSync license added to the appsetttings.json file and everything works greate, but our small issue is that we have to open the uSync license tab after each new deployment and press "Save" for the functionality to be active. So, is there a way to avoid this? Sometimes we forget to do this extra step and our customers complain that uSync does not work, until we have done the action.
k
Hi, thats odd 🤔 - What version of uSync are you running ?
- have you tried the default with the licence file in umbraco/licences ?
s
Running uSync.Complete 12.2.3 and yes we have tried that, but then now tried with appsettings.json.
k
yeah the behavior would suggest its not reading it from the file 😞 Just tested it here and it seems to work. (note it actually should with with "licence" or "license" but maybe try swapping it)
Copy code
json
  "uSync": {
    "Complete": {
      "License": {
        "Domains": "DOMAIN_NAME_HERE",
        "Key" : "LICENCE_KEY_HERE"
      }
    },
    "Publisher": {
        "Settings": {
Just some simple mistake checks: - the "uSync" key is at the top level and isn't under the umbraco one - "Domains" is "Domains" and not "Domain" when you do get to the licence page after a restart do you see a green or red banner at the top of the page ?
s
Hey 😄 I can confirm that our appsettings.json setup mathces your example, and still the samme effect. After restart we get the "Licence is loaded" red bar. The info is displayed, but i need to press save.
k
hi can you send me a screenshot of the page (kevin@jumoo.co.uk)
s
Next time the issue is present, i will send you the screenshot. We don't want to restart the customers CMS unnecessary.
But i wil make sure to linkt to this thread in the mail.