form-field
I have a column in Loans table called
loan_agreement_file_path
which stores the path of a file. Now what I want is to show the file link of this file in a table list such that when a user clicks on it he/she can download the file.
This is what I have a tried but its not working:
Any Ideas?5 Replies
use a suffix in your table so u have the full link there?
u have some exampledata of what u want as input and output?
@MyFrend Just a normal href tag we know, suppose my file path under
loan_agreement_file_path
is 'original_document_name.pdf' then in my table list I will put this file name which has been retrieved in the href i.e <a href="original_document_name.pdf" >Form</a> and in the table list only the 'Form' text will appear and when clicked will lead to that download/view of that file.
hope this help
@Lara Zeus Still not working as expected, its showing the full file path instaed: LOAN_AGREEMENT_FORMS/2023/DOCX/MyWLZ0ng3gWTjalQr205ikyb6BGCjnWvTRQtugPj.docx
sorry I copy past and didnt change
the second one is ->url()