How to Export and Import Web Part in SharePoint 2013 Online?

How to Export and Import Web Part in SharePoint 2013 Online?

In this post we will discuss how we can export and import web parts in SharePoint 2013 Online. When you export a web part, the web part description file will be a .webpart file. A site owner can export a web part file and can upload to a web part gallery and other users can use the web part by importing into the web part page.

Read some SharePoint tutorials

– How to change Master Page in SharePoint 2016?

– SharePoint server 2016 new and removed features

– Get all SharePoint Users in CSV File from Farm using PowerShell in SharePoint

Remember we can not export any list view web parts. Web parts which can be exported are: Content Editor Web Part, Script Editor Web Part, Form Web Part, Page Viewer Web Part, XML Web Part, and Image Web Part etc. And you can able to only import to web part pages not to any other pages.

Export Web Part:
To export a web part first edit the web part page where your web part is there. Then in the edit mode click on Export… as shown in the fig below:

 How to Export and Import Web Part in SharePoint 2013 Online?
How to Export and Import Web Part in SharePoint 2013 Online?

Then it will allow you to Save as a .webpart file. If you will Open the file in notepad file then you will see that is an xml file which will have all the web part properties, MetaData etc.

Import Web Part:
To import a web part to the web part Gallery, you can Open Web Part Gallery from Site Settings. Then in the Web Part Gallery page, click on Upload document and then browse to the file which we have exported in the above step.

 How to Export and Import Web Part in SharePoint 2013 Online?
How to Export and Import Web Part in SharePoint 2013 Online?

Just give a Name, Title, description etc as shown in the fig below:

 How to Export and Import Web Part in SharePoint 2013 Online?
How to Export and Import Web Part in SharePoint 2013 Online?

Now Open the web part page where you want to add the web part. Then edit the web part page and then Click on Add a Web Part.


Then in the web part categories, you will be able to see the web part under Miscellaneous section (if you have not selected any category while uploading to web part gallery).

 How to Export and Import Web Part in SharePoint 2013 Online?
How to Export and Import Web Part in SharePoint 2013 Online?

You can select the web part and then click on Add. It will add the web part to the web part page. Hope it will be helpful to you.


You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →