Thanks for the response - I'm aware of the Umbraco Forms documentation, however unfortunately it is lacking the section on code-first development which is why I attempted to implement it in the old manner.
Are you able to advise on the implementation status of code-first within Forms?
I think the best man to know this is Tim, so if you are on Twitter you could try ping him there. I donĀ“t know if the Code first is available on Umbraco Forms yet.
Hey Chris, you are correct there is no code first approach in Forms and no plans on adding it, so if you want that functionallity I suggest you install Contour instead of Forms (still works fine in v7 and is being maintained)
Nope but from the top of my head the main differences are, no code first, less record states (so only submitted and approved), no user security, only records are stored in db, rest is stored as json on filesystem
Code First in Umbraco Forms
In attempting to implement a code-first form using Umbraco Forms following the instructions for Contour (https://our.umbraco.org/projects/umbraco-pro/contour/documentation/developer/Code-first/) I have found that FormBase does not exist.
Is there an alternative approach to implement code-first in Forms or is it simply not currently implemented?
Regards, Chris
Hi Chris,
I can see that you are looking at the documentation for Contour. You can find the documentation for Umbraco Forms here. https://our.umbraco.org/documentation/Products/UmbracoForms/
Hope this can help,
/Dennis
Hi Dennis,
Thanks for the response - I'm aware of the Umbraco Forms documentation, however unfortunately it is lacking the section on code-first development which is why I attempted to implement it in the old manner.
Are you able to advise on the implementation status of code-first within Forms?
Chris
Hi Chris,
I think the best man to know this is Tim, so if you are on Twitter you could try ping him there. I donĀ“t know if the Code first is available on Umbraco Forms yet.
/Dennis
Cheers Dennis,
I've given him a ping, we'll see what we get back :)
Chris
Comment author was deleted
Hey Chris, you are correct there is no code first approach in Forms and no plans on adding it, so if you want that functionallity I suggest you install Contour instead of Forms (still works fine in v7 and is being maintained)
Hey Tim,
Thanks for the heads up - I'll be sure to note that moving forward.
Is there a page anywhere stating the differences between / intended use cases for the two projects?
Chris
Comment author was deleted
Nope but from the top of my head the main differences are, no code first, less record states (so only submitted and approved), no user security, only records are stored in db, rest is stored as json on filesystem
Brilliant, I can make that work - thanks Tim.
Chris
is working on a reply...