Jump to content

Select a folder Preference | Getting the Contents

Recommended Posts

I've been having a look at the shared folder preference. I was just wondering if there was an API available to get the contents of the folder that's been selected? I can output the UUID, but that's about it.

Ideally so I could get something like an array of all the image contained within a chosen folder.




Link to comment
Share on other sites

Thanks Chris.

I've just had a look at that and got it partially working. I can find the UUID of the parent folder, and the selected folder. I can also get a list of files contained within.

When I use this:

"selectFolder": {
  "type": "sharedfolder",
  "defaultValue": "|"

I'm only able to get the UUID of the selected folder and not the parent. Is there anyway of finding the UUID of the parent folder for the selected folder? That way the user can select a folder and the files contained within can be listed.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...