You are not logged in.
I have a folder which shows four images in the application. However, when I use the above API call, it returns eight results. The filenames are the same, however, the ids are unique.
Offline
Hi Mark,
Welcome to the forum!
A quick test of Files.GetAssetsForParent() here only resulted in assets from the recycle bin being returned if the recycle bin containerid itself was provide as an argument. Perhaps you could expand a little on your testing?
Best Regards,
Steve
Offline
These are the steps I take:
#1 Call Folders.GetTopLevelFolders
#2 Find the single folder that I want
#3 Call Folders.GetContainersForParent
#4 This returns a collection of folders
#5 For each folder, call Files.GetAssetsForParent
Is this enough? I didn't want to give complete specifics on an open forum, but I would be happy to email these through to you if that is possible?
Offline
I have found the issue - we had two identically named folders with the sames images in each folder, hence the duplication.
Offline
Hi Mark,
Ah, glad you have got it going now. Thanks for the update.
Best Regards,
Steve
Offline