Skip to main content
added 19 characters in body
Source Link
Ganesh Sanap - MVP
  • 46.4k
  • 22
  • 31
  • 63

You can use the SiteData.asmxSiteData.asmx service's function GetListCollectionGetListCollection to give you all the lists in the site. 

From there you can filter by BaseType == "Survey"BaseType == "Survey" to get all the surveys.

For the next part you will need to use Lists.asmxLists.asmx service's function GetListGetList to give you an XML representation of the list. 

It returns the schema.xmlschema.xml of the list (CAML), so you'll need to parse that. This should be enough to get you started.

You can use the SiteData.asmx service's function GetListCollection to give you all the lists in the site. From there you can filter by BaseType == "Survey" to get all the surveys.

For the next part you will need to use Lists.asmx service's function GetList to give you an XML representation of the list. It returns the schema.xml of the list (CAML), so you'll need to parse that. This should be enough to get you started.

You can use the SiteData.asmx service's function GetListCollection to give you all the lists in the site. 

From there you can filter by BaseType == "Survey" to get all the surveys.

For the next part you will need to use Lists.asmx service's function GetList to give you an XML representation of the list. 

It returns the schema.xml of the list (CAML), so you'll need to parse that. This should be enough to get you started.

Source Link
MBSurf
  • 1k
  • 5
  • 9

You can use the SiteData.asmx service's function GetListCollection to give you all the lists in the site. From there you can filter by BaseType == "Survey" to get all the surveys.

For the next part you will need to use Lists.asmx service's function GetList to give you an XML representation of the list. It returns the schema.xml of the list (CAML), so you'll need to parse that. This should be enough to get you started.