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

Try our conversational search powered by Generative AI!

Migrate old episerver 6 template tp 7.5

Vote:
 

hi

is it ok to migrate all of our pagetype to use the new strongley type method ?

what i did is creating a pagedata class to a template with the guid of the page type i want to use.

and change the aspx to support the new pagedata class i created.

i got to results

1. the first one was successfully migrated, i can see in the admin mode that the pagetype is now "from code" and i see my code file there

2. the second pagetype create a new pagetype with same guid :(.

has anyone did this change and got these issues as well ? 

#112856
Nov 06, 2014 13:43
Vote:
 

Are you using ContentTypeGUID-decoration on your classes?

If you need to migrate data as well:

Take a look at this blog post: http://talk.alfnilsson.se/2013/03/08/creating-page-type-classes-from-page-types-in-episerver-cms-7/

The tool will generate content type class files from your database, so you could just export the page types from epi 6 and then run the tool.

#112872
Nov 06, 2014 15:45
* 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.