London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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.
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 http://world.episerver.com/Documentation/Items/Tech-Notes/EPiServer-CMS-4/EPiServer-462/Unified-File-System/, 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?