Display a link to download specific data from a collection

As i can see you already have seen this post here?

This is not a possible solution for you ?

I guess there are two issues here. 1. how do I generate the link to the data, and 2. how do I embed each unique link in each listRepeater item during page generation?

How i see your situation.

  1. You have a database where you store your licence-keys (Datafield —> “keys”)
  2. You use a repeater which will generate a list of all the entered keys (of course hidden).
  3. also you will have a button in the repeater which calls related data of each entered DB-value.
  4. At least you have an HTML-component which will find the right key-value in your DB by click on the corresponding button.
  5. Export the found key trough for example a CSV-File or XLS-file or whatever.

Surely the same can be done by using an export as TCT-file.

To find more information on this, try to search for such a function in “Stack-Overflow” or “GitHu” and perhaps also in “W3School”.

This would be my idea how to solve your problem.

BUT ATTENTION! → Since you work with sensitive data, you should of course work on the BACK-END and perhaps also use the wix-secret-manager for your purposes.

Good luck and happy coding.

EDIT:
This post could also be very helpfull for you and give you new ideas how to solve your problem.
https://www.wix.com/velo/forum/coding-with-velo/trying-to-download-using-html-element