Copied to clipboard

Flag this post as spam?

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


  • Gordon Saxby 1454 posts 1875 karma points
    May 15, 2024 @ 15:55
    Gordon Saxby
    0

    uSync.Forms not automatically creating config files

    I have installed uSync.Forms in Umbraco 13.

    I can export forms to create the files in the uSync folder on disk, but it doesn't do that automatically when I create / save a form - should it / could it?

    I have tried to find some documentation without luck.

  • Kevin Jump 2319 posts 14774 karma points MVP 8x c-trib
    May 15, 2024 @ 17:44
    Kevin Jump
    0

    Hi,

    are you running the latest version (13.2.0) there where some fixes released recently and that may solve this issue,

    Kevin

  • Gordon Saxby 1454 posts 1875 karma points
    May 16, 2024 @ 07:57
    Gordon Saxby
    0

    I have Umbraco v13.3.0, Umbraco.Forms v13.1.2, uSync v13.2.2 and uSync.Forms 13.2.0

    All installed via Nuget

  • Gordon Saxby 1454 posts 1875 karma points
    May 17, 2024 @ 08:00
    Gordon Saxby
    0

    No uSync settings have been changed, so whatever the defaults are.

    Turned on uSync Debug logging, nothing seems to appear in the logs when I save a Form - and the uSync file on disk is not created or updated.

    Also - tried deleting (renaming) current uSync folder and running the site again. It created all the folders except for the Form ones.

    Kevin - can you confirm that uSync files (forms and prevalues) should be created when they are created, updated or deleted?

  • Kevin Jump 2319 posts 14774 karma points MVP 8x c-trib
    May 17, 2024 @ 09:21
    Kevin Jump
    0

    Hi,

    Just did a quick test and yes forms should save to disk when you save them in the site. 🤔

    Do you have any custom usync config in the appsettings files(s) ?

  • Gordon Saxby 1454 posts 1875 karma points
    May 17, 2024 @ 11:05
    Gordon Saxby
    0

    I have the following in appSettings.config:

    "uSync": {
        "Settings": {
          "ExportOnSave": "Settings",
          "ImportAtStartup": "Settings"
        }
    }
    
  • Kevin Jump 2319 posts 14774 karma points MVP 8x c-trib
    May 17, 2024 @ 11:06
    Kevin Jump
    100

    Hi,

    yeah think that's it, forms items are their own group, so you will need these values be "Settings, Forms" for forms to be saved/imported

    Kevin

Please Sign in or register to post replies

Write your reply to:

Draft