RE: Dynamic behavior of File Upload component(s) to allow user to upload multiple documents WITHOUT using Editable grids and multiFileUpload component

Hi All,

We have a requirement in our project to use a File Upload component dynamically without using any editable grid and multiFileUpload component etc. The use case is, the user will have default one fileUpload component inside a boxLayout and upon uploading a document inside that first boxLayout, then user should get dynamically another new empty BoxLayout with a empty fileUpload component and when user uploads document in second boxLayout then it should generate a new third boxLayout with empty fileUpload component etc. And whenever user deletes a document in any of the boxLayout then that boxLayout should be removed from the interface.

Does anyone have similar usecase and working functionality been implemented? Please help.

 

Thanks

  Discussion posts and replies are publicly visible

Parents Reply
  • We have a business case where we need to provide a input textfield for each fileUpload component so that the data entered in textField should be stored in the fileDescriptions parameter of that specific fileUpload component, so we have planned to put those fileupload and text field in a boxLayout and wanted to generate a new boxLayout whenever the current/first BoxLayout has a document uploaded in it. And also we need to show a Preview of image/document that have been uploaded in each fileupload component. So, we have planned to contain all these (a fileUpload, textfield & documentViewerfield) in a single boxLayout so that we can provide multiple of those layouts dynamically.
Children
No Data