Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Using list TITLE instead of ID in Data View WebParts

  Asked By: Zackary Pitts         Date: Feb 20, 2003      Category: Sharepoint      Views: 529
 

Is it possible to use the list's Title (or relative URL) in the query of
a Data View WebPart

So something like:
<dsp:dsQuery select="/list[@name='announcements']"

<dsp:dsQuery select="/list[@DefaultViewUrl
='sites/customers/announcements']"

instead of the ID
<dsp:dsQuery select="/list[@id
='{AB368D6C-7EAD-46F8-8865-AF1053F0BAFE}']"


I tried these selects, but FP then tells met I have a syntax error.

I think this will help many, since it makes DVWP webparts more portable

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 Using list TITLE instead of ID in Data View WebParts Or get search suggestion and latest updates.


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