November Happy Hour will be moved to Thursday December 5th.

Override PhysicalPath

Vote:
 

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
Vote:
 
#65424
Jan 29, 2013 16:47
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.