[SOLVED] Outputting URL in fusion for Asset selected with Neos\Media\Domain\Model\Asset

Hiya, I’m relatively new to Neos and I’m having difficulty outputting the asset url in a fusion file. The asset is selected and uploaded using the Neos\Media\Domain\Model\Asset .yaml configuration.

This is my yaml property:

      type: 'Neos\Media\Domain\Model\Asset'
        label: 'Case Study PDF'
          group: file

I understand there is supposed to be a means of implementing this through fluid, but I don’t know how to implement this. Please help!

Thank you.

Nevermind, I found the solution by dissecting what was done in this discussion:

I simply needed to specify the resource property:
href = Neos.Fusion:ResourceUri {
resource = ${node.properties.caseStudyPdf.resource}

Whereas before I was attempting this:
href = Neos.Fusion:ResourceUri {
resource = ${node.properties.caseStudyPdf}