Export page types from database to C# classes


Hey, does anyone remember that tool that exported page types from database to PageTypeBuilder classes? I can't Google it any more and I didn't save it anywhere :(

Also, do you know of the same tool for EPi7?



Oct 11, 2013 17:05

I think Erik Nordin created the pagetypebuilder tool: http://pagetypebuilder.codeplex.com/

Alf Nilsson has done some tool for EPi7: http://talk.alfnilsson.se/2013/03/08/creating-page-type-classes-from-page-types-in-episerver-cms-7/

Oct 11, 2013 18:08

You're probably thinking of this plugin by Erik Nordin: http://antecknat.se/blog/2009/11/02/creating-classes-for-pagetypebuilder-in-an-existing-project/

Alf Nilsson ported it to work with EPi7: http://talk.alfnilsson.se/2013/03/08/creating-page-type-classes-from-page-types-in-episerver-cms-7/

EDIT: Per beat me to it while I was typing, although his link is to the Page Type Builder project by Joel Abrahamsson, not Erik's plugin :-)

Edited, Oct 11, 2013 18:11

Haha friday night WIN ;)

Oct 11, 2013 18:18

For EPiServer 7 there is actually a hidden built in tool in Admin mode:  /CMS/Admin/PageTypeCodeGenerator.aspx. It uses some old attribute names, but it can be easily fixed since all code is inside this aspx file.

Oct 11, 2013 18:36

Just for the future readers of this post, according to comments on Arild's blogpost, Alf's plugin is a way to go (not the hidden one).

Oct 17, 2013 11:20
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.