Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damon 217 posts 287 karma points
    Aug 25, 2015 @ 08:29
    Damon
    0

    Creating link to file using Umbraco.Media .Url - works for image but fails for pdf

    Hi,

    I am creating links to files using @Umbraco.Media(Model.MacroParameters["field"]).Url

    When the media item is an image, the link works.

    When the media item is a pdf file, I get an error - Error loading Partial View script

    Thanks a lot!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies