From Config to migration?

Topics: General
Feb 16, 2014 at 1:39 PM

I created a Website with Orchard. I use the Gui and the Content Definition to create my ContentTypes.
Now I am searching for a way to transform these ContentTypes into Code for the Orchard Migration and seperate these in a own Module. Is there any automatization or need this done by hand?

Thanks a lot!
Feb 16, 2014 at 8:15 PM
To have those content types created as part of your migration, you would have to code them manually. Or you could do an export of your content types, and save that to your module in a folder called Recipes, and name the file something like "customtypes.recipe.xml". Then you can execute that recipe from the new "Recipes" tab in the Modules section.
Marked as answer by benschi11 on 2/16/2014 at 1:48 PM
Feb 16, 2014 at 8:49 PM
Thanks for your suggestions. I love the recipe feature in Orchard. I will use this approach.