How to add content editor web part to webpart gallery| Export content editor web part (OOTB in SharePoint)

By default content editor web part is not exporting as *.webpart file as other out-of-the-box(OOTB) web parts, it is exported as *.dwp. Basically dwp file is an element XML file which contains configurations as below;

<?xml version="1.0" encoding="utf-8"?>
<WebPart xmlns:xsd="" xmlns:xsi="" xmlns="">
  <Title>Content Editor</Title>

But if you exported other web part you can be able to to extract it by converting it to *.cab file. It’s not required here and you can open it by text editor simply.

Most of the people finding around exporting this since they required to include that in a VisualStudio solution. Following steps can be followed to arrive at that and if you required to add that in a site page, you may bug me via any form of contact method in about section.

Steps as below;

  1. Export the content editor web part (CEWB) i.e. *.dwp
  2. Add→ Existing item→ Select your dwp
  3. Integrate to solution…follow the following steps

Add a module and include your exported file into it

Configure module element.xml

Include that in a feature as below, then you will arrive at below, which you required.  


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s