Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Exporting all Web Parts on a page.

  Asked By: Mindy    Date: Jul 10    Category: Sharepoint    Views: 1223

Is anyone aware of a way to use script to export all webparts to .dwp
files, for a page (or all pages in a site)?

Barring this... is there a way to look into a .fwp file and find the
parameter settings for a webpart for a given page?

Basically, I'm trying to find a way to protect my developers from
accidentally deleting a webpart that they spent hours configuring. If
I can do nightly backups/exports, then at least we won't lose much

I know a good 3rd party backup/restore solution is the best answer but
that'll take time to justify.



4 Answers Found

Answer #1    Answered By: Cade Velazquez     Answered On: Jul 10

The .fwp file  is actually a .cab file with a different name.

If I was to write this program, I would extract the manifest, look for the .dwp files and then extract those files with the proper name.

Answer #2    Answered By: Ariana Christensen     Answered On: Jul 10

I am aware that the .fwp was a .cab with another name, but my
question was "is there a way to look into a .fwp file  and find  the
parameter settings  for a webpart  for a given page?"

When I looked at the manifest and a handful of files at random, I
didn't find a way to, for example, get the HTML that was assigned to
a Content Editor WebPart on the 'Schaeflein.aspx' page.

I could not see that there were any .dwp files included in
the .fwp/.cab file. I'll look again.

If they are, in fact, already there and I just need to match the
fubar names with the right part, you'll have to tell me where to
send the Pizza, my friend, 'cause you'll have earned it!

Answer #3    Answered By: Gopal Jamakhandi     Answered On: Jul 10

I don't know how I missed it. I suppose I should have looked the
backup of a site with a better 'webparts to documents' ratio.

Answer #4    Answered By: Kyla Eckert     Answered On: Jul 10

I’d use SMIGRATE … restore to a new place if you have a problem. Web part data can’t really be recovered from a Manifest.xml (see my blog at thorprojects.com/blog/archive/2005/11/08/280.aspx).

Didn't find what you were looking for? Find more on Exporting all Web Parts on a page. Or get search suggestion and latest updates.