Main Content

Magnolia Community Forums: Get help with Magnolia: URL link to BasicUploadDefinition field in content app


  • iokerhe1
    iokerhe1
    Full name: Francisco J. Giner
    Posts: 8
    Last post: Jul 12, 2017 10:46:55 AM
    Registered on: Aug 28, 2015
    URL link to BasicUploadDefinition field in content app
    #1 by iokerhe1 on Jun 7, 2017 1:44:09 PM

    Hi!

    We've created a content app that contains a BasicUploadField. We want to create an url link to download this resource, but if we use ${cmsfn.link(node.document)} returns an url string. But if you navigate to that url it returns a 404 error.

    We've searched at Magnolia's documentation and Google, but we found nothing. We don't want to use DAM at that moment.

    We need to create a servlet that returns this content or exists another way to do that?

    Thanks in advance.

  • iokerhe1
    iokerhe1
    Full name: Francisco J. Giner
    Posts: 8
    Last post: Jul 12, 2017 10:46:55 AM
    Registered on: Aug 28, 2015
    Re: URL link to BasicUploadDefinition field in content app
    #2 by iokerhe1 on Jun 8, 2017 1:58:20 PM

    Finally we created a servlet that returns that files.

You don't have the permission to post on this thread

Sign in

To login on this forum, you can use your Magnolia Forge, Support or Partner account, or, below, your Google, Yahoo! or OpenID account. If you have trouble logging in, or any other sort of issue, please let us know in the Meta forum, on the user-list, or simply by email at forum-admin at magnolia-cms dot com.

* Required

... or sign in with:

  • icon http://{your-openid-url}
  • icon
  • icon https://me.yahoo.com/