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.