Todd Bleeker's 12 Hive

All MindsharpBlogs

Are you pondering what I'm pondering?

My Links

Post Categories

Archives

Blog Stats

Export Web Part as a DWP

In a previous post, I explained how to import a Windows SharePoint Services (WSS) Dashboard Web Part (DWP) directly onto your Web Part Page, import a DWP into the Site Gallery, or copy a DWP into the Virtual Server Gallery on the Web Servers. But I neglected to explain how to export a Web Part to a DWP file.

Choose a Web Part that you would like to export (I just dropped an empty Content Editor Web Part onto the page) and choose Export... from it's smart menu:

Choose the Save button from the File Download dialog:

I like to strip out the spaces in the file name and save all my DWPs in a directory called DWP directly off the root of my c: drive:

Make no mistake, the Web Part's assembly is not included in this export, just a reference to the Web Part's assembly, the named value pairs associated with the 21 built-in properties, and any custom public properties that the Web Part's class has exposed. If you look at the saved DWP file in Notepad, you will see that it simply references the assembly, namespace, and class of the Web Part that is installed on your server and optionally assigns initial values to properties that will be populated when the Web Part is once again placed on a Web Part Page:

This exported DWP can be imported back into a gallery or a page as it is or the XML can be modified so that different default values are used when the Web Part is placed onto a Web Part Page.

<Todd />

posted on Tuesday, October 25, 2005 7:05 AM

Feedback

# Hide the Quick Launch Bar 10/26/2005 8:31 AM Todd Bleeker's 60 Hive

# Guidelines to Centralize SharePoint Style/Script Customizations 3/10/2006 4:25 PM Todd Bleeker's 60 Hive

# Guidelines to Centralize SharePoint Style/Script Customizations 3/10/2006 4:30 PM Todd Bleeker's 60 Hive

# re: Export Web Part as a DWP 10/12/2006 1:14 AM Roxana Goidaci

The export option is not available for me in Sharepoint Server 2007. Any idea how to export a webpart in this case?

# re: Export Web Part as a DWP 4/30/2007 9:11 AM laurie.wheeler@stoneridge.com

What do you do if "export" isn't showing up under the smart menu to be able to export the web parts.

# re: Export Web Part as a DWP 7/13/2007 10:36 AM Kelly

I'm trying to migrate from SharePoint WSS 2.0 to SharePoint WSS 3.0 and I cannot export and import my Surveys. Any ideas on how this could be done?

Thanks.

# re: Export Web Part as a DWP 7/16/2007 3:42 AM Chris

If the export option doesn't appear in the smart menu. edit the page in designer and select the web part you want to export and find the following code.
<ExportControlledProperties>false</ExportControlledProperties>

simply change that to true and you will now be able to export the web part.

Not sure why it defaults but this is one work around I have found hope it helps.

# re: Export Web Part as a DWP 7/16/2007 4:01 AM Chris

However you should note that even doing this will not work for all web parts as some cannot be imported.

# re: Export Web Part as a DWP 5/31/2008 9:39 AM Youtube

This is just great!

# re: Export Web Part as a DWP 6/2/2008 5:41 AM Araba Resim

This exported DWP can be imported back into a gallery or a page as it is or the XML can be modified so that different default values are used when the Web Part is placed onto a Web Part Page.
http://www.kiz-oyunlari.com
http://www.futboloyunlari.org
http://www.araba-oyunlari.com

# re: Export Web Part as a DWP 6/5/2008 5:49 AM Youtube

However you should note that even doing this will not work for all web parts as some cannot be imported.

# re: Export Web Part as a DWP 6/19/2008 2:07 AM Youtube

very nice

# Mirc 6/29/2008 9:11 PM Mirc

Thanks you My Friend..
Zebani..

# re: Chat 7/20/2008 8:10 PM Chat

Thank you my friend..

# re: Forum 7/20/2008 8:12 PM Forum

Thank you, very nice

# re: çet cet chat 7/22/2008 8:50 AM çet

thanks.

# re: İzlesene youtube 7/22/2008 8:50 AM youtube

thanks.

# re: Mirc Mic İndir 7/22/2008 8:51 AM mircalem

thanks.

# çizgi film 8/12/2008 8:16 AM Çizgi Film

very good

# film izle 8/12/2008 8:16 AM film izle

very good

# gelinlikler 8/12/2008 8:17 AM Gelinlikler

very good

# masaüstü resimleri 8/12/2008 8:17 AM masaüstü resimleri

very good

# mercedes yedek parçaları 8/12/2008 8:17 AM Mercedes Yedek Parçaları

very good

# autocad kursu 8/12/2008 8:18 AM autocad kursu

very good

# müzik dinle 8/12/2008 8:19 AM müzik dinle

very good

# Bay 8/12/2008 8:19 AM Havuz

very good

# yemek tarifleri 8/12/2008 8:22 AM yemek tarifleri

very good

# Bay 8/12/2008 8:22 AM havuz

very good

# re: Export Web Part as a DWP 8/12/2008 8:24 AM gaziosmanpaşa

very good

# re: Export Web Part as a DWP 9/11/2008 4:34 AM mırc

thanks.

# chat 9/12/2008 7:48 AM chat

thanks

# canlı sohbet 9/12/2008 7:49 AM canlı sohbet

thanks

# sohbet siteleri 9/12/2008 7:50 AM sohbet siteleri

thanks

# re: Export Web Part as a DWP 9/19/2008 7:27 AM nike sb dunks

Thank you!
http://www.shoes777.com/

# Cafe Paylaşım 9/28/2008 10:15 AM paylaşım

thanks

# re: Export Web Part as a DWP 10/11/2008 1:32 AM ed hardy

I need Thank you!

# re: Export Web Part as a DWP 10/19/2008 10:03 AM chat

tenks

# re: Export Web Part as a DWP 10/19/2008 10:03 AM sohbet

tenks

# re: Export Web Part as a DWP 10/20/2008 12:55 AM mirc indir

Thanks

# re: Export Web Part as a DWP 10/20/2008 9:05 AM mirc ekle

Thanks

# re: Export Web Part as a DWP 10/20/2008 3:09 PM mircada

Thanks

# re: Export Web Part as a DWP 10/21/2008 4:25 AM mirc

Thanks

# re: Export Web Part as a DWP 10/21/2008 6:38 PM chat

thanks

# re: Export Web Part as a DWP 10/21/2008 6:41 PM chat

thanks

# re: Export Web Part as a DWP 10/22/2008 2:18 AM catlak

Thanks

# re: Export Web Part as a DWP 10/22/2008 2:18 AM catlak

Thanks

# re: Export Web Part as a DWP 10/26/2008 3:27 AM pornosu

thanx man

# re: Export Web Part as a DWP 10/28/2008 10:24 PM erotik videolar

onlardan thanks dielim very good!

# re: Export Web Part as a DWP 10/31/2008 2:42 AM ilaclama

ilaclama Hizmetleri

http://www.berfinilaclama.com
http://www.bocekilaclama.gen.tr
http://www.etkinilaclama.net

# re: Export Web Part as a DWP 11/5/2008 1:00 PM çet

thanks you

# re: Export Web Part as a DWP 11/13/2008 3:27 AM hekimboard

thanks.

# re: Export Web Part as a DWP 11/17/2008 12:20 PM Chat

confirmed it is now too late for Ron Paul to remove himself as a candidate, and that he will remain as the Presidential candidate for the Constitution Party of Montana on the November ballot. So, let's crank it up!

# re: Export Web Part as a DWP 11/17/2008 12:20 PM Sohbet

confirmed it is now too late for Ron Paul to remove himself as a candidate, and that he will remain as the Presidential candidate for the Constitution Party of Montana on the November ballot. So, let's crank it up!

Title  
Name  
Url
CAPTCHA
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments