Third Light Developer Exchange

Code and templating community forum for developers and software integrators

You are not logged in.

Announcement

If you wish to join the Developer Exchange, please contact your account manager - this is to avoid unnecessary spam in the forums. Many thanks for your understanding.

#1 2016-06-17 15:22:33

virtual_monk
Member
Registered: 2016-06-17
Posts: 2

Get subfolders

I'm trying to Get the subfolders of a particular folder. Files_GetAssetsForParent successfully returns any image assets I have in that file, but not any subfolders.  I thought Folders_GetContainersForParent would Get me what I needed, but it just brings me to the parent folder of the folder I was querying.

Offline

#2 2016-06-17 15:30:57

dominic
Third Light Staff
Registered: 2013-06-06
Posts: 119

Re: Get subfolders

Hi,

You're correct that Folders_GetContainersForParent is the method to use.

I wonder whether you misspelled the `containerId` parameter name in your call - when not specified, the default is to return the top-level folders (which sounds like the symptom you are seeing).

Dominic

Offline

Board footer