Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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!
is working on a reply...
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.
Continue discussion
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!
is working on a reply...
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.