Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

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:

Alf Nilsson has done some tool for EPi7:

Oct 11, 2013 18:08

You're probably thinking of this plugin by Erik Nordin:

Alf Nilsson ported it to work with EPi7:

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.