Skip to main content
beatrizl0002
September 30, 2021
Question

Regarding File Upload component Max Selections

  • September 30, 2021
  • 9 replies
  • 0 views

Hi!

I am building an interface on the interface designer, and I added a File Upload component.I need to upload five documents maximum, and i set Max Selections to 5, but even if I select more than one file, I only have one (the first one I uploaded), the rest appear for a moment and disappear.

Can anyone tell me why is this happening?

Thanks a lot!

9 replies

stefanhelzle0001
Brainy
September 30, 2021

Is your rule input in which you save the documents an array?

beatrizl0002
September 30, 2021

No, i built this interface from a CDT and this rule input is a field from that CDT, so is a text field, i do not know how to convert it in an array.

stefanhelzle0001
Brainy
September 30, 2021

So, if you want to store multiple documents, then a singular field will not make it.

When you want to store documents in a CDT, please use the data type "Document". In the CDT you can make that field an array to store more than one. Making simply data type fields an array is not a best practice, but gets you started.

Try to follow this documentation: docs.appian.com/.../cdt_design_guidance.html