How to link to documents in a database?

Hi,

Is there a way to link to a document in a database?

The use case:

  1. A user attaches a document with the form they submit
  2. An automation is created to deliver that information outside of Wix via Zapier
  3. How could we link to the document that is submitted in the form?

Hi,

One of the fields type in the database is URL. After adding a dataset to your page, connect the attach element to this field, as a result after submitting you will see in the database all your form’s data include the url of the doc.
View this article to learn how to create a form with user input elements
https://support.wix.com/en/article/creating-a-form-with-user-input-elements

Best,
Sapir

Thank you Sapir.

If the type is URL for the attachment, you will get something like this “wix:document://v1/9bec_52fb06ea/filename.xls”

How can one open this link?

Best