Jump to content

Select a folder Preference | Getting the Contents


sclough

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.

Thanks,

Simon

 

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.

Thanks,

Simon

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...