how to use the a constant to create a document link?

Hello,

I am trying to add a document link to an interface. I found the a!documentDownloadLink function and it tells me to create a constant to point to my documents but I am a bit lost.

This is an interface where a supervisor will approve or deny a request so the document link in the form should be attached to the specific request. What do I need to do in the cosntant to point specifically to that value?

The value is store in my recordType as an integer and it is added to the record through an attachment component in a record action. 

any help is appreciated

  Discussion posts and replies are publicly visible

Parents Reply
  • Yup sorry, long day. I have a record action where a user submits a form that can include attachaments. That form should be later evaluated by a supervisor.

    I want the information from the record action to be displayed in the supervisor interface, including a link to the attachments. I can display all other information but I do not know how to dislpay a link to the attachments.

    The attachments are store to my documents folder through a file upload input and attached to my record type through a field called "documentacion" of Number(integer) type. 

    how can i display the link? 

Children