link label dynamic text display

Certified Associate Developer

Hi

My use case is as follows. 

I have a button that initiates a process that creates an excel follow. 

After pressing the button, and upon successful creation of the excel file, I want to display to the user a document download link.

As for the label of this link, I want it to say "Download + FileName", where the file name is a Local Variable 

for example, I want the label of the link to say "Download Excel File Number 5" for example

Is there a way to make the label field dynamically displayed based on the value of a local variable. 

  Discussion posts and replies are publicly visible