We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46039
    • 76 Posts
    I have a static resource that is an inline PDF file.
    I then create a symlink as an inline PDF.
    The PDF reader starts, but the file is never loaded.

    This question has been answered by sottwell. See the first response.

    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      The symlink serves no useful purpose, whether it works or not. Just use another static resource for the same file if you need to have it in more than one place.

      Anyway, a symlink outputs content - the content of the target resource. It does not stream a file, as a binary static resource does. So you have a PDF resource with content, but no binary file to stream. The most you would ever get out of it is the path that is the content of the static resource.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 46039
        • 76 Posts
        Thanks sottwell.