Try our conversational search powered by Generative AI!

Export and import files from v 6 to 7



I'm trying to export all files and just the files from episerver 6 to episerver 7. Can I only do this one by one? I don't have the same structure or pagetypes in my new cms so I just want all the files to be exported.

May 16, 2016 9:25

What version of 7 are you using?

May 16, 2016 9:42

I see version under  <assemblyIdentity name="EPiServer" in web.config.

May 16, 2016 9:51

I would create a scheduled job in the old site (version 6) that goes through all files. Get all files like:

void GetAllFiles(UnifiedDirectory start, List<UnifiedFile> files)
{    foreach (UnifiedFile file in start.GetFiles())
    foreach (UnifiedDirectory dir in start.GetDirectories())
        GetAllFiles(dir, files);

and then use the new service api

to export the files to the new web site.

May 16, 2016 10:37
* 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.