UXP: getItems() returns ProjectItems — how to access subfolders?
hi,
I'm trying to work with folders/bins using UXP, but I'm having trouble navigating through the folder hierarchy and getting references to subfolders.
Calling getRootItem() gives me a FolderItem{}, which is expected.
However, when I try to go one level deeper using getItems(), I only get ProjectItem objects in return — even if the actual items are folders. Since I can only call getItems() on a FolderItem, I'm stuck. How can I access the contents of a subfolder?
root
├── folder1
├── folder2
│ ├── subfolder1
│ └── subfolder2
│ ├── movieclip1.mov
│ └── movieclip2.mov
How can I get the contents of something like subfolder2?
Thanks a lot!
Julian
---
UXP Developer Tools: 2.1.0.30
PPro Version 25.6.0 BETA (Build 9)
