Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Sample queryoptions for GetListItems web service (WSS 2003)

  Asked By: Grace    Date: Jan 27    Category: Sharepoint    Views: 2850

I have been successfully working with the GetListItems web service,
retreiving all items from lists, but now I need more fine grained
control over it.
This is the web service call:
WSSWS.GetListItem(lisname as String,
viewname as String,
query as System.Xml.XmlNode,
viewfields as System.Xml.XmlNode,
rowlimit as String,
queryoptions as System.Xml.XmlNode)

Where can I find samples for the "query" XmlNode and for
the "queryoptions" XmlNode?
I have been searching without luck.
Basically I want to gather all items that have "Status = 'Closed', for
example. How is it done using the query and queryoptions parameters?
And then, how to grab the attachments in those?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Ariana Christensen     Answered On: Jan 27

I found detailed information here:
msdn.microsoft.com/.../en-
us/spptsdk/html/soapmListsGetListItems_SV01034350.asp

 
Answer #2    Answered By: Darrius Whitfield     Answered On: Jan 27

You have two options:

1. Pass a list view name with the filter you want
2. Pass a CAML query with the filter you want

 




Tagged: