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

Path format in not supported by damLinkfield

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 3.0.26
    • DAM App
    • None
    • Magnolia 6.2.X

    Description

      Path format in not supported by damLinkfield when following the document to define a  converterClass properties.

      I know linkField support assets to store in path format but it has a definition problem, please see attachments below.

       

      Here is the field definition:

       

      image1:
        label: Image
        $type: damLinkField
        textInputAllowed: true
        converterClass: info.magnolia.dam.app.data.AssetConverter
      image2:
        label: Image
        $type: linkField
        textInputAllowed: true
        converterClass: info.magnolia.dam.app.data.AssetConverter
        chooserId: dam-app-core:chooser
        preview:
          class: info.magnolia.ui.editor.ItemPreviewDefinition
        datasource:
          class: info.magnolia.dam.app.data.AssetDatasourceDefinition
          preview:
            variationName: 240
      image3:
        label: Image
        $type: linkField
        showOptions: true
        textInputAllowed: true
        converterClass: info.magnolia.ui.editor.converter.JcrNodeToPathConverter
        chooser:
          workbenchChooser:
            appName: dam
        datasource:
          $type: jcrDatasource
          workspace: dam
          allowedNodeTypes:
            - mgnl:folder
            - mgnl:asset 

      Expected results:

       

      1. Be able to support damLinkField e.g image1& image2 define converterClass or no warning info when use linkField to define chooser properties like image3 of sample.

      2.Modify the document because convertClass is a common field properties but damLinkField is not supported.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              dwei David Wei
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD