Link a file from a prior period

Hi there

We want to link a file from a previous period as a reference in the current period (e.g. engagement letter).
Everything works apart from the link to the prior period attachment. Is this possible?
This design is so the reviewer can easily track changes from one period to the next.

|Attach copy of latest engagement letters
|{% input custom.el.copies as:file default:period.minus_1y.reconciliations.cake1.custom.el.copies %}
|{{ period.minus_1y.reconciliations.cake1.custom.el.copies }}

{% newline %}

Appreciate the help

Hi @ThomasB

When you say you want to “link” the attachment, what do you think should happen?
Should the user see which attachments were uploaded in the previous year, or do you want them to click on a link that takes them to the previous year?

You may also want to look into document.link functionality for this use case:

In your use case, that should work as follows:

{% for doc in period.minus_1y.reconciliations.cake1.custom.el.copies.documents %}
  Name: {{ doc.file_name }}
  Link: {{ doc.link }}
{% endfor %}

Kind regards,
Romy