Copied to clipboard

Flag this post as spam?

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


  • Zac 223 posts 575 karma points
    Apr 15, 2015 @ 02:06
    Zac
    0

    Umbraco Forms and source control, deployment

    Hi all,

    What is the best practice approach with regards to managing the Umbraco Forms data configuration files, e.g. the forms and workflows files?

    We weren't sure whether to remove the App_Plugins Forms data from source control completely, or whether to keep it there but exclude those files form our MSBUILD scripts so that we don't keep reverting the forms back on stage or live with our development versions.

    I couldn't find any documentation about when exactly Forms reads from the filesystem to update the forms in the DB, or how to stop this process or make it writeonly.

  • nikita 6 posts 56 karma points
    Apr 22, 2015 @ 06:47
    nikita
    0

    We would like to know the best practice to deploy forms from one site to other.

    For e.g : Copying forms from development to staging site.

    Could you please suggest in this regard?

  • Per Ploug 865 posts 3491 karma points MVP admin
    Apr 22, 2015 @ 08:19
    Per Ploug
    0

    Forms keep form settings and workflows only as files on disk in /app_plugins/forms/data if I remember correctly. So if you change the file, the form changes.

    To avoid that your build process overwrites your live forms, you can ignore the files in /app_plugins/forms/data which is the folder containing your forms, workflows etc.

    @nikita - to deploy a form, simply deploy the files in /app_plugins/forms/data/ this will deploy your form configuration - its all file based.

  • nikita 6 posts 56 karma points
    Apr 23, 2015 @ 07:34
    nikita
    0

    @Per -  Thank you so much for the info. That was really helpul. :)

  • Zac 223 posts 575 karma points
    Apr 23, 2015 @ 11:26
    Zac
    0

    What we decided to do was keep the forms data and workflows in our repository for now but exclude them from our MSBUILD scripts so that we don't deploy them to the live server.

    It's another thing to worry about now when deploying or pushing from stage to live, but has its benefits.

    What's the purpose of the Forms tables in the database now?

  • Matthew Kirschner 323 posts 611 karma points
    Apr 23, 2015 @ 15:05
    Matthew Kirschner
    0

    @Zac, the database tables collect form submission data from users.

  • Zac 223 posts 575 karma points
    Apr 26, 2015 @ 14:56
    Zac
    0

    Aware of those tables (the Records tables) as I had to manually migrate them from Contour but if I remember correctly there are a bunch of other tables too.

Please Sign in or register to post replies

Write your reply to:

Draft