Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Copying sites with FP Data View WebParts sometimes fails

  Asked By: J Graves         Date: Jan 30, 2003      Category: Sharepoint      Views: 213
 

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.


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:                  

 

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.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].