SaaS CMS has officially launched! Learn more now.

How do I list files in v4.6x using Unified Files System?


I need to list some files in a directory and I'm trying to do this by using <EPiServer:UnifiedFileTree>.
Following some examples, I find the following attribute:  RootPath='<%#CurrentPage["WebBaseURL"]%>'.

But what is the property WebBaseURL? Because it is not possible to select a directory, using "URL to abc" type.

I've looked at, but I'm none the wiser.


Does anyone have an working example of how I can list files in a directory using Unified Files System?

Jan 15, 2010 14:42

RootPath is probably just the path to the directory, for example "/Global/Documents" or whater paths you have in your file manager (in EPiServer). Programmtic access is found in the technote.

Jan 15, 2010 16:12
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.