November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
You want to databind the files of a specific VPP folder to a DropDownList?
Exactly. Can we do this? At the moment the drop down list binds any files it finds in 'global files'.
Yes this is possible :). Take a look at EPiServer: Using the new Unified File System and A Custom File Manager for some example code.
Thanks for the links. I've had a look at the unified file system. It uses a property called PageFolderID. What property is this and how exactly do we find the ID of a folder?
And must we build a custom file manager? can we not use the file manager provided in EPiServer?
Thanks for the advice.
Yes of course you can use the built in file manager. The code that I linked to is just for you to have some sample code that uses the unified file system. PageFolderID is a default property in EPiServer that has the ID of the pages folder, unique for that page. CurrentPage["PageFolderID"] will return the ID.
I have a page template that contains a drop down list control and which binds files from the file management. At the moment it's binding any files that I upload (to global files). However, I'd like to create folders and put specific files inside specific folders.
When I create pages based on the template I want the pages drop down list to bind files from different folders.
(1) Is this possible?
(2) Anyone have links or sample code?