Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Copying sites with FP Data View WebParts sometimes fails

  Asked By: J    Date: Jan 30    Category: Sharepoint    Views: 1205

Copying sites from development to production environment can be tough
when you have added data view webparts to the pages using Front Page.

When copying sites, either using FrontPage backup/restore or by creating
a template and use ths template in production environment, the lists
themselves are always created in the production site (of course with a
different ID)
... and sometimes the dataview webparts do show the list items as
intended.

SOMETIMES

Not allways. Sometimes the reference
<dsp:dsQuery
select="/list[@id='{AB368D6C-7EAD-46F8-8865-AF1053F0BAFE}']" ...
in the data query refers to the list in the old site.
but sometimes it is well set to the ID of the new list.

QUESTION: What, in the data view webpart, makes the webpart portable or
not?


Another question: is it possible to do the query with the list name (or
url or Title)
<dsp:dsQuery select="/list[@name='announcements']"
instead of the ID
<dsp:dsQuery
select="/list[@id='{AB368D6C-7EAD-46F8-8865-AF1053F0BAFE}']"


any help will be appreciated.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Copying sites with FP Data View WebParts sometimes fails Or get search suggestion and latest updates.




Tagged: