I'm making an Ajax call to the Lists web service to retrieve some items. I'd like to return results only from a specific view. Can I do that through CAML?
I have this so far - which the attribute 'listView' is not correct. Is there a way to include the List View Name in the query?:
<GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/"> <listName>Entertainment Guides</listName> <listView>Max Spending Rates</listView> <viewFields> <ViewFields> <FieldRef Name="Title"></FieldRef> <FieldRef Name="What_x0020_to_x0020_Know"></FieldRef> </ViewFields> </viewFields> </GetListItems>