Using Camunda 8 Form table function , links are not opening from form output

Hi , I am using below embedded camunda form which takes a fileList json containing fileName and downloadUrl.
Form :

{
  "components": [
    {
      "text": "# Google Drive FileLists",
      "label": "Files Available for Download",
      "type": "text",
      "layout": {
        "row": "row_0",
        "columns": null
      },
      "id": "Field_1cuseje"
    },
    {
      "label": "Table",
      "type": "table",
      "layout": {
        "row": "Row_1no6of7",
        "columns": null
      },
      "dataSource": "=fileList",
      "properties": {
        "downloadUrl": "<a href={{downloadUrl}} target='_blank'>Download</a>"
      },
      "rowCount": 20,
      "id": "Field_1lr3hhl",
      "columns": [
        {
          "label": "FileName",
          "key": "fileName",
          "type": "text"
        },
        {
          "label": "DownloadUrl",
          "key": "downloadUrl",
          "type": "html",
          "template": "<a href='{{downloadUrl}}' target='_blank'>Download</a>"
        }
      ]
    }
  ],
  "type": "default",
  "id": "Form_0jfyacm",
  "executionPlatform": "Camunda Cloud",
  "executionPlatformVersion": "8.5.0",
  "exporter": {
    "name": "Camunda Modeler",
    "version": "5.25.0"
  },
  "schemaVersion": 16
}

i am able to see the table but the urls are not clickable.any suggestion on this?

I don’t think you can do that with the table component, but you can use an HTML view component for it (which gives a lot of flexibility as well):

<table>
  <tr>
    <th>File name</th>
    <th>Download</th>
  </tr>
  {{#loop fileList}}
    <tr>
      <td>{{fileName}}</td>
      <td><a href="{{downloadUrl}}" target='_blank'>Download</a></td>
    </tr>
  {{/loop}}
</table>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.