Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Data view web parts MOVE to new web app

  Asked By: Sally    Date: May 07    Category: Sharepoint    Views: 1769

We have a site collection that we are going to move to another web app.
This site collection has subsites that each have a data view web part
that I created. The data that the web parts are viewing also lives in
this site collection.

So, when we move this whole site collection, what's the best way to
point these web parts to the correct place, and not have to go through
and re-create each one? Is it as simple as changing the GUID in the
code?

I do know that these data view web parts are going to break, but in the
past I've just had to re-create them from scratch. I'm trying to
anticipate it this time.

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Patrick Davis     Answered On: May 07

I have had success in just replacing the GUIDs in the web  parts and them
working..
I have also seen a blog entry in which the data  views can be bound to a list
name and not a GUID..in this case, they should be transferable to a new web app,
provided that the new site  has a list with the same name as is bound in the web
part.
blog.solanite.com/keith/Lists/Posts/Post.aspx?ID=3

 
Answer #2    Answered By: Alexander Rocha     Answered On: May 07

Changing the GUID to the list name works!

 
Didn't find what you were looking for? Find more on Data view web parts MOVE to new web app Or get search suggestion and latest updates.




Tagged: