Clearly there have been a number of posts related to "File Pickers" as data-types.
What I need to allow is the user to browse a folder of files, select the
file, which saves the path as a string for use later in a macro.
We can not use the Media picker because there are hundreds of large
video files that will be dropped into a folder on the file system,
uploading the files is impractical.
So the question is; Has anyone created a file picker that can be configured to browse a specified folder as the root directory, and when selected returns the path?
I will be including this data-type in the upcoming uComponents package. In the meantime, you can copy-n-paste the code-snippet (from the link above) into a C# file and drop it into your App_Code folder. Umbraco should pick it up as a data-type.
Is there anything else I need to do to get Umbraco to pick it up? It doesn't appear as an option after I drop the file in the App_Code folder in the root of the site.
Strange... I've just tried this myself and I get the same problem! It doesn't seem to load data-types from the App_Code - not sure why that is, I thought that's where I tested it previously?!
Anyway, I've compiled the C# class for you into a DLL. Download it from the link below, and drop it into your /bin folder.
I am working on an improved version for uComponents - where you can select the initial path and select multiple files ... but that is still in development, few months away yet!
Is there a File Picker (file system)?
Clearly there have been a number of posts related to "File Pickers" as data-types.
What I need to allow is the user to browse a folder of files, select the file, which saves the path as a string for use later in a macro.
We can not use the Media picker because there are hundreds of large video files that will be dropped into a folder on the file system, uploading the files is impractical.
So the question is; Has anyone created a file picker that can be configured to browse a specified folder as the root directory, and when selected returns the path?
does the file manager package do what you're after?
http://our.umbraco.org/projects/backoffice-extensions/file-manager
file importer might also be what you're after, as it allows you to import files that have already been uploaded directly to the server into the media section for consumption. http://our.umbraco.org/projects/backoffice-extensions/import-media
Hi Dave,
Yes, (of sorts). I needed one for a previous client project, couldn't find one - so wrote it myself. I posted the source-code in this forum post:
http://our.umbraco.org/forum/developers/extending-umbraco/9021-Does-a-File-Picker-data-type-exist
I will be including this data-type in the upcoming uComponents package. In the meantime, you can copy-n-paste the code-snippet (from the link above) into a C# file and drop it into your App_Code folder. Umbraco should pick it up as a data-type.
Cheers, Lee.
Hi Lee,
Is there anything else I need to do to get Umbraco to pick it up? It doesn't appear as an option after I drop the file in the App_Code folder in the root of the site.
Thanks!
Hi Dave,
Strange... I've just tried this myself and I get the same problem! It doesn't seem to load data-types from the App_Code - not sure why that is, I thought that's where I tested it previously?!
Anyway, I've compiled the C# class for you into a DLL. Download it from the link below, and drop it into your /bin folder.
http://code.leekelleher.com/umbraco/Our.Umbraco.DataType.FilePicker.dll.zip
I am working on an improved version for uComponents - where you can select the initial path and select multiple files ... but that is still in development, few months away yet!
Cheers, Lee.
Lee,
This is an excellent start. While it may not work exactly as I need it today, it's clear the direction that your taking, and I appreciate your help.
Regards,
Dave
is working on a reply...