Multiple file upload component
mNo edit summary
mNo edit summary
Line 5: Line 5:
The model for the example is a project with some documents. Each document holds the file (a blob) and a filename (a string).
The model for the example is a project with some documents. Each document holds the file (a blob) and a filename (a string).


{| class="wikitable" style="border-width: 0"
{| class="wikitable" style="border-style: none"
|-
|-
| [[File:Upload_multiplefiles_project_document.png]]  
| [[File:Upload_multiplefiles_project_document.png]]  
| [[File:Upload_multiplefiles_document.png]]
| [[File:Upload_multiplefiles_document.png]]
|}
|}

Revision as of 09:04, 6 March 2020

It is easy to add a single file upload button in the MDriven Designer, but to handle multiple files you'll have to create a component.

A typical case is that you want to make it possible to choose a couple of files together with other information about some entity. Here we will have a project and add a multiple file upload for documents.

The model for the example is a project with some documents. Each document holds the file (a blob) and a filename (a string).

Upload multiplefiles project document.png Upload multiplefiles document.png
This page was edited 0 days ago on 05/17/2024. What links here