London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Display In Navigation option for folders in Media tab

Vote:
0

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:
0

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
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.