Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The DAM for Sitecore module extends SItecores default LInkProvider. The reason why we do that is because our media links are not recognized by Sitecore. We have to extend the LinkProvider and overrided the method ParseDynamicLink.

kjsdlfsdf

Code Block
languagexml
<linkManager>
      <providers>
        <add patch:instead="*[@type='Sitecore.Links.LinkProvider, Sitecore.Kernel']"  name="sitecore" type="DFS.Services.DfsLinkProvider, DFS.Services" addAspxExtension="false" alwaysIncludeServerUrl="false" encodeNames="true" languageEmbedding="asNeeded" languageLocation="filePath" lowercaseUrls="false" shortenUrls="true" useDisplayName="false"/>
      </providers>
    </linkManager>