How to extract and make stp file in SharePoint Online?

In this post, we will discuss how to extract a .stp file and then how to make a .stp file from the extracted files in SharePoint. We have created a custom list template which usually saves as a .stp file. After saving this .stp file we wanted to modify something in the manifest.xml file.

Extract and make stp file in SharePoint Online

Let us see step by step how to extract and make stp file in SharePoint Online.

First you can extract the .stp file. Here I have used 7-Zip to extract it like below:

extract stp file sharepoint online
extract stp file sharepoint online

Once it is successfully extracted, you can see the manifest.xml file.

Then you can modify the file using Notepad or Notepad++ (any editor you can use). Once the modification over we can run the below command to create the .stp file again.

Here I have kept the manifest.xml file in the d drive and running the below command.

makecab.exe manifest.xml WorkflowMailTemplates.stp
make stp file sharepoint online
make stp file sharepoint online

You may like the following tutorials:

In this tutorial, we learned how to extract and make stp file in SharePoint Online.

  • Hi Bijay,
    I am facing a similar requirement where I want to create .stp of custom list using CSOM and then upload this .stp file to some doc library. Later part is feasible, but creating .stp file from Sharepoint list. Is it feasible using CSOM?
    Thanks!

  • >