Forum Discussion

Alex Lush's avatar
Alex Lush
Iron Contributor
Dec 12, 2017

Advice on Migrating .STP files to SharePoit Online

We are currently looking at trying to migrate from SharePoint 2013 to SharePoint Online.

We have looked at the SharePoint Migration Tool by Microsoft as a free way to do this. All is good until you realise that the tool will not create the libraries in the destination, only migrate the content to pre-existing libraries.

 

Most of our libraries have custom columns added along with a number of complex views, I don't want to create each of these by hand in SPO!

 

Not a problem I thought, just save the library as a template (without data), copy the .stp file across to SPO then create the library using the stp template.

 

This works fine on an old style team site. However I tried this just now on a 'modern' team site (created via MS Teams) and I don't have the 'List Template Gallery' option available when I go into the Site Settings page. I then tried the solution here regarding the 'Allow custom scripts'. I also tried the PowerShell equivalent:

Set-SPOsite <SiteURL> -DenyAddAndCustomizePages 0

...as detailed here. Still not showing even after the advised 24 hour wait.

 

I then tried the devious option of entering the URL manually in the format:

https://<tenant>.sharepoint.com/sites/<sitename>/_catalogs/lt/Forms/AllItems.aspx

 

Bingo, I'm into the List Template Gallery! However, I go to upload my STP files, browse to the file saved locally, hit upload and get:

'Sorry, you don't have access to this page'

 

I've created the site collection myself and have tenant admin rights so I *should* have access. I've been through the 'Request Access' workflow and requested access to myself, approved access to myself etc but still no joy.

 

Any advise gratefully appreciated!!

 

2 Replies

  • There are lots of things that are different between the Modern Sites and 2013 Sites in SPO, including some of the back end design. 

     

    For any list/library, you can, via settings, force the 2013 "Classic Experience" view/options; you might attempt this for the library/list under your modern site. 

     

    Under (Settings Widget)> List/Library Settings>Advanced Settings: (the last option)

     

     

    I'd be surprised if you could get this working in a modern view however...

    • jcgonzalezmartin's avatar
      jcgonzalezmartin
      MVP
      Best you can do here is use PnP Stuff to extract the definition of your lists and document liabraries, re-create them in Office 365 and then perform the migration

Resources