Craft CMS Asked on November 7, 2021
On my development instance, I added a freeform form. Now I would like to deploy that form to the staging, or later, live site.
When committing my changes, I noticed that nothing was added to
project.yaml. So I guess the changes are just saved in the DB and will not be synced at git-based deploy.
Is that by design? Can I enable
If not: how do I export the form definitions and deploy them to another instance? By MySQL?
Project config is designed to sync the architecture of your site, not the content, so structural changes can be made without affecting the content. Forms are seen as content, like entries, so this would be the expected behaviour.
The suggested workflow would be to create the form on the production site, then pull to local environment to do any front-end work, then push those changes to production.
The nystudio107 craft scripts are pretty useful for syncing databases and assets if needed.
Answered by dmatthams on November 7, 2021
In my experience none of the Solspace plugins migrate their admin stuff the "Craft" way.
I would not recommend
useProjectConfigFile if you are using Freeform or Calendar, as this will lead to confusion.
Answered by Steve Mock on November 7, 2021
1 Asked on July 11, 2021
1 Asked on July 11, 2021 by zizther
3 Asked on July 8, 2021
1 Asked on July 8, 2021
0 Asked on July 6, 2021
1 Asked on July 3, 2021 by divyangini-patel
1 Asked on July 1, 2021
0 Asked on July 1, 2021 by cory-cobler
1 Asked on June 30, 2021 by marie-manandise
2 Asked on June 28, 2021 by steve-adams
1 Asked on June 28, 2021 by derak
3 Asked on June 26, 2021 by shabz
Get help from others!