Sitecore - 2 Media items. Same filename, different extensions

大兔子大兔子 提交于 2019-12-06 14:51:44

You can possibly override either the media provider or the item resolver in the web.config and if the requested resource is a media item:

  1. See if it has a sibling by the same name
  2. If so, check the request's extension (doc, PDF, etc)
  3. Find the sibling that is of that type based on extension and return that.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!