Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Deane, try this:
EPiServer.Web.Hosting.VirtualPathVersioningProvider p = EPiServer.Web.Hosting.VirtualPathHandler.GetProvider("SiteDocuments") as EPiServer.Web.Hosting.VirtualPathVersioningProvider;
string path = p.PhysicalBasePath.FullName;
How do I get the PhysicalPath attribute of a VPP? The VPP definitions are in episerver.config like this:
I have the string "SiteDocuments" (the "name" from that config element), and I want to get the "physicalPath" (assuming it exists). I've been up and down the API and can't figure out how to do this.