Match EPiServer and Page Type Builder properties

Code by:

Erik Nordin Wahlberg


Disco Works AB
Esteemed Citizen

Experienced developer, system architect, technical project manager with extensive knowledge in EPiServer. Enjoys the challenge of creating seamless integrations between different systems, e.g. web, product databases, CRM-systems, search engines. Co-founder of Disco Works.

Updated 2011-09-21

Lee Crowe has made updates to this plugin. Check out his blog post about it: http://world.episerver.com/Blogs/Lee-Crowe/Dates/2011/7/Introducing-Page-Type-Builder-UI/

Updated!
Fixed bug comitted in the comment below, thanks for the input. Also added a link to each pagetype and also a link directly to the property if there was a mismatch.

Using PageTypeBuilder when creating EPiServer web sites?

Then you're probably aware of when removing properties in code, they won't change in EPiServer. Same thing when changing a property type in PTB, it won't change in EPiServer.

In larger projects with a lot of inheritance between page types this can be really annoying, going through all page types and remove/change properties. So I created a plugin that displays miss matches between EPiServer and PTB-properties. In the plugin you can also delete unwanted properties, but for now you can't convert them to another property type.

Read more at: http://antecknat.se/blog/2010/11/10/find-miss-matches-between-episerver-and-pagetypebuilder-properties/

Used for Product: EPiServer CMS 6
Code sample:



All use of the code is on a “use at your own risk” basis. Episerver is under no circumstances responsible for any direct or indirect loss experienced by users or project owners, when downloading and using code presented within the section Code on Episerver World. Please note that this is example code and should not be used within production environment without testing. Episerver do not support the code examples posted within the section Code on Episerver World.