How we can display uploaded file in an interface?

How we can display uploaded file in an interface?

  Discussion posts and replies are publicly visible

Parents
  • I would suggest you to have a "Upload" button next to the file Upload field. It should be a submit button. So the scenario is user selects a file then click on 'Upload". In the process after the UI node have an XOR to check button value. If it is 'Upload' go back to UI else move forward, indicating the form is submitted. Your SAIL should have a!documentDownloadLink() code inside with() so that when the process comes back to UI after upload you can see the document using the permanent doc ID that you pass from the process to UI. The activity chaining plays vital role here. The user will stay at the same page still the process will proceed. Hope it helps.
Reply
  • I would suggest you to have a "Upload" button next to the file Upload field. It should be a submit button. So the scenario is user selects a file then click on 'Upload". In the process after the UI node have an XOR to check button value. If it is 'Upload' go back to UI else move forward, indicating the form is submitted. Your SAIL should have a!documentDownloadLink() code inside with() so that when the process comes back to UI after upload you can see the document using the permanent doc ID that you pass from the process to UI. The activity chaining plays vital role here. The user will stay at the same page still the process will proceed. Hope it helps.
Children
No Data