In my journey to migrate Episerver 6 to 8 i stumble on quite some challenges, one of them is:
In the old Episerver 6 you were able to create extra paths to access in the Media explorer. We did this by doing this:
name="EPiServerNativeTemplateThemes" type="EPiServer.Web.Hosting.VirtualPathNativeProvider,EPiServer" virtualName="Template Themes" showInFileManager="true" bypassAccessCheck="false" indexingServiceCatalog="Web1" />
In the old site i have 6 definitions like this to folders, completely outside the website.
It worked like a charm in 6, but now i'm struggling to get it working in the new Episerver.
Can anyone help to get this part up and running? I know however that Episerver 6 had 'Starting points' in the Media tree, and i see Episerver 8 no longer has them. Ideally i would still want them, however if not possible i would still love to be able to use these virtualpaths, to access files on those locations.
Thanks in advance,
There is no more VPP in episerver but you can use ContentProvider so that you can map a folder from a server directly into episerver:
And there is a nice blogpost about the basic from Johan Björnfot:
Since EPiServer 7.5 you don't use VPPs to store files. Instead EPiServer stores files as "Media" which is a kind of content in the same way as Blocks and Pages are content.
I would recommend that you look into having a ContentProvider instead. Johan Björnfot has an example which might do exactly what you're looking for?
There are also some good getting-started posts about this