+ Reply to Thread
Results 1 to 2 of 2
-
11-03-2009 01:48 PM #1
Junior Member
- Join Date
- Oct 2009
- Posts
- 2
Folders and Surveys in Web Services
I am attempting to retrieve a list of surveys contained within a given folder, but I am unable to do so with the web services. There appears to be no way to determine which folder a given survey is contained in either.
I can copy surveys to folders, remove folders, rename folders, etc, but I can not find a way to determine what is IN a folder. Am I missing something here?
Is there currently a way to determine what is contained in a given folder, or otherwise determine which folder a survey is in?
-
11-03-2009 01:55 PM #2
Administrator
- Join Date
- Mar 2007
- Posts
- 385
It is possible to, although the API does not make this clear. There is currently a developer tracker item open to create a new method for this task.
Currently you can retrieve the list of surveys in a folder using the
SurveyManagement.ListSurveys(Guid guid, string filterField, string filterValue, string permission) {...} method.
You will want to use "AncestorID" as the filterField and the folder id as the filterValue.


LinkBack URL
About LinkBacks
Reply With Quote
