Checkbox Forums

Help
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    swdev is offline Junior Member
    Join Date
    Oct 2009
    Posts
    2

    Default 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?

  2. #2
    pwiesner is offline Administrator
    Join Date
    Mar 2007
    Posts
    385

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO 3.5.0