How can i achieve this , pls guide .
When I click on ADD PASSPORT HERE - and upload a file the file link should be reflected on the "Password Link: " above . Also if I click on the uploaded link it will re-direct me to the file .
Discussion posts and replies are publicly visible
In recent Appian versions if document is uploaded its content and meta-data can be used without submitting the form as well. Which Appian version are you on and also, what is the behavior of your current implementation once user uploads the document?
Once user uploads the document , it will be stored in Database .
I am using 25.1 version .
And once the document is stored in database you can show the documentDownload link using the id stored. What challenge are you facing?
I am having doubt on , how can I click on the button which uploads a file ,after uploading the link appears besides "Passport Link ". Can you help on the code to do this
On the button configure a!startprocess() which sends the file to process to write into database. In a!startProcess() onSuccess you can get the documentId back from the process. Using the received documentId from Process show the documentDownloadLink with the file Id received!
Thanks , but my doubt is - I will click on the "Add passport here" button and the uploaded file will appear as a link besides "Passport link ".