Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

PartialRouteData not mapping to atual path of the content media

$
0
0

I am trying to make shorter URL for my file in EpiServer

Just want to use the URL ../ file/filename.

I have implemented using Partial Route Data by implementing  IPartialRouter interface

return new PartialRouteData
{
BasePathRoot = ContentReference.RootPage,
PartialVirtualPath=content.name

}

Could you please help,how to map partial route data to actual file path which is hierarchical folder structure in episerver?

../globalassets/foldername/foldername/filename


Viewing all articles
Browse latest Browse all 8020

Trending Articles