Override PhysicalPath

 

Hi Guys

We have a configuration profile largley stored in HTTPContext on an MVC 4 App.

What we need is the Filemanager to pull files from the physical Location

<add showInFileManager="true" virtualName="Files" virtualPath="~/Files/"
bypassAccessCheck="false" indexingServiceCatalog="Web" physicalPath="C:\EPiServer\%PortalID%\Files"
name="SiteFiles" type="EPiServer.Web.Hosting.VirtualPathNativeProvider,EPiServer"
WriteAccess="Administrators" DeleteAccess="Administrators" />

 

So %PortalID% becomes the name of the portal.

Any Ideas how to do this?

Cheers

Matt 

#65423 Jan 29, 2013 16:47