Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-340

Not possible to get Properties from DAM Object in Freemarker

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Critical
    • None
    • 1.1.1
    • None
    • None

    Description

      Get the Asset
      assign document = damfn.getAssetForId(content.download)

      In [document] you have just access to the MetaData e.g. fileName, size ...

      But as it seems there is no way to get the other properties like title, caption..

      When then doing something like

      public String getAssetTitle(Asset asset)

      { return asset.getTitle(); }

      the result is an empty string.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              tomwespi Tom Wespi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD