It uses the list type when you create a new DataServiceCollection<T> and load 
it via the context.

You can access each list by 
http://contoso/subsiteblah/_vti_bin/ListData.svc/ListName but you can't use 
that full URI in the DataContext as it whinges about the last segment referring 
to a collection, this must be the last segment in the request blah blah.

Apart from that, you can't specify any id's etc that I know of.

From: [email protected] [mailto:[email protected]] On Behalf Of 
Jeremy Thake
Sent: Monday, 20 December 2010 1:35 PM
To: ozMOSS
Subject: RE: SharePoint 2010 WCF Data Services

Not used those web services much, but can you target the List ID? Or List 
Template type? That's usually what's exposed in queries.

From: [email protected] [mailto:[email protected]] On Behalf Of 
Chris Walsh
Sent: Monday, 20 December 2010 9:58 AM
To: ozMOSS
Subject: SharePoint 2010 WCF Data Services

Ok, got a semi complex one (at least I think so).

With WCF Data Services, when you specify the 
http://contoso/subsiteblah/_vti_bin/ListData.svc and then give it the 
entityType you're trying to use.

It will default to the first list it can find of that type.  I've got a 
scenario where I've got 4 different lists inside the same subsite of the same 
entityType and need to access them via wcf data services.

Ideas?
_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to