Kloojed

New module at epicode

Have you ever wanted to provide your customers with an easy way of choosing a directory in the unified file system? I have created a custom property that allows you to do exactly that.

The Folder Browser is a custom property with a popup dialog that lets the editor browse in all EPiServer file systems available on the site.

The module is a part of the open source community for EPiServer modules called EPiCode. In order to download and browse the source code you need to register and apply for membership at EPiCode.

  • Posted August 1, 2008
  • We keep getting the following exception when trying out your property

    System.Web.CachedPathData.GetConfigPathData(String configPath) +459 System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +132 System.Web.Configuration.RuntimeConfig.GetConfig(VirtualPath path) +110 System.Web.Security.UrlAuthorizationModule.CheckUrlAccessForPrincipal(String virtualPath, IPrincipal user, String verb) +477 EPiServer.Security.PrincipalInfo.HasPathAccess(String path) +88 EPiServer.Web.Hosting.VersioningDirectory.getDirectories() +229 EPiServer.Web.Hosting.VersioningDirectory.GetDirectories() +35 EPiServer.Web.WebControls.FileSystemItem.getChildren() +92 EPiServer.Web.WebControls.FileSystemItem.get_HasChildren() +5 System.Web.UI.WebControls.TreeView.DataBindRecursive(TreeNode node, IHierarchicalEnumerable enumerable, Boolean ignorePopulateOnDemand) +3652 System.Web.UI.WebControls.TreeView.DataBindRecursive(TreeNode node, IHierarchicalEnumerable enumerable, Boolean ignorePopulateOnDemand) +3752 System.Web.UI.WebControls.TreeView.DataBindRecursive(TreeNode node, IHierarchicalEnumerable enumerable, Boolean ignorePopulateOnDemand) +3752 System.Web.UI.WebControls.TreeView.DataBindNode(TreeNode node) +347 System.Web.UI.WebControls.TreeView.PerformDataBinding() +305 System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() +82 System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70 System.Web.UI.WebControls.TreeView.DataBind() +4 System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82 System.Web.UI.WebControls.TreeView.OnPreRender(EventArgs e) +43 System.Web.UI.Control.PreRenderRecursiveInternal() +86 System.Web.UI.Control.PreRenderRecursiveInternal() +170 System.Web.UI.Control.PreRenderRecursiveInternal() +170 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041

    Have you got any idea of what might be the problem?

    Cheers

    • Posted by flalar
    • July 28, 2008
  • flalar:

    We keep getting the following exception when trying out your property

    Sorry for my late answer. Are you using the source from svn or is it the module package?

  • Im having the same problem. How do i solve this? Its working locally but not on the production site

    • Posted by Mattias
    • October 13, 2009
  • I'm sorry but I have not managed to reproduce this error. Do you have any more information about the error and/or configuration you are using?

  • IIS6 EPiServer CMS 5 R2 SP1 VirtualPathVersioningProvider as VPP

    • Posted by Mattias
    • October 23, 2009
  • There was an old bug in EPiServer which caused it when folder names ended with a dot.

    • Posted by Mattias
    • November 10, 2009
  • Nice to hear that you solved the problem and thank you for sharing.

    • Posted by Marcus Lindblom
    • November 10, 2009

Leave a comment


Information

About

Marcus Lindblom is a Swedish professional frontend engineer with specialities like Web standards, ASP.NET, EPiServer, accessibility and long experience in developing high end websites for the public sector and commercial companies.

Copyright

Copyright © 2008 Marcus Lindblom. Powered by StormBreaker - Standards Compliant CMS. Hosted by Meridium AB.