Try Now
More in this section

Forums / Developing with Sitefinity / 404 Error Document Link

404 Error Document Link

2 posts, 0 answered
  1. André
    André avatar
    2 posts
    23 Sep 2014
    07 Apr
    Link to this post

    I have a document created type , this includes a title and a HTML Text Box.

    If I select them a PDF is available in HTML Editor the following link:

    <a title="Programm" href="/docs/default-source/default-document-library/programm.pdf?sfvrsn=2" sfref="[documents|OpenAccessDataProvider]f50ac8ab-39b2-68cb-a7f4-ff0000c60c24">Programm</a><br />

    But if I look at the source code on the website following stands:

    <a href="[documents|OpenAccessDataProvider]f50ac8ab-39b2-68cb-a7f4-ff0000c60c24" title="Programm">Programm</a>

    When I click the link, I get a 404 error ?

    Greetings Andreas
    ps : Sorry for my terrible English.
  2. Dimitri Cools
    Dimitri Cools avatar
    80 posts
    26 Oct 2016
    08 Apr
    Link to this post

    This looks like a known issue that only happens with modules created with the module builder and that have a file linked to it using the Document Manager.
    With a standard news module for example, the issue doesn't occur.

    This behavior has been resolved in 9.0. To address the issue for Sitefintiy 8.2 please refer to this KB article;
    Dynamically resolving Sitefinity links when using HtmlField

    which explains a workaround that invloves creating a customized version of HtmlField and resolves the Id that is currently displayed to an url.

    Dimitri Cools
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered