Display In Navigation option for folders in Media tab

Vote:
 

Hello team,

Is there a way to replicate the Display in Navigation option for folders in Media tab.

Ex: if we have root/folder1/2/3/abc.pdf. Is there a way to hide 3 in the file path without physically deleting the folder 3 and without moving the file itself.

#229642
Oct 20, 2020 21:35
Praful Jangid - Oct 21, 2020 7:58
What you want to achieve, could you please add more details.
Vote:
 

The Display in Navigation isn't for that. It's used for when you want to mark a page as not rendering in whatever custom navigation system you used to output say a primary header. What you're looking for is a custom route which would remove the folders from the generated URL that episerver would return as part of it's framework. https://world.episerver.com/documentation/developer-guides/CMS/routing/ would be the place to look at for this

#229678
Oct 21, 2020 9:57
* 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.