Is it possible to output multiple document links with a!documentDownloadLink, wi

Is it possible to output multiple document links with a!documentDownloadLink, within a!linkField, that display on the same line? Or any other solution for document links would work as well.. Similar to how joinarray(links,", ") would separate an array into a comma delmited output on the same line. My code is below, but I can't seem to creat anything that does not display links on one line each.

a!linkField(
links:
          apply(
           a!documentDownloadLink,
           merge(
                    local!docs,
                    local!docNames
           )
          )
)

OriginalPostID-165099

OriginalPostID-165099

  Discussion posts and replies are publicly visible

Parents
  • Thanks guys - Rich Text field looks to be the right direction, only issue now is getting a separator between the documents - otherwise this does display them on one line:

    a!richTextDisplayField(
    value: a!applycomponents(
    function: a!richTextItem(
    text: _,
    link: _
    ),
    array: merge(
    local!docNames,
    apply(
    a!documentDownloadLink,
    merge(
    local!docs,
    local!docNames
    )
    )
    )
    )
    )
Reply
  • Thanks guys - Rich Text field looks to be the right direction, only issue now is getting a separator between the documents - otherwise this does display them on one line:

    a!richTextDisplayField(
    value: a!applycomponents(
    function: a!richTextItem(
    text: _,
    link: _
    ),
    array: merge(
    local!docNames,
    apply(
    a!documentDownloadLink,
    merge(
    local!docs,
    local!docNames
    )
    )
    )
    )
    )
Children
No Data