We are currently performing maintenance on Appian Community. As a result, discussions posts and replies are temporarily unavailable. We appreciate your patience.

Multiple File Upload

How can we make the File upload component as dynamic ? I have a rule input which has the type has a record type , so i cant select the multiple array option it it. The document id should be stored in the DB and the files should be saved in a Target folder.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    One option would be to create a rule input of type document with multiple values and save the multiple documents into that rule input. After that save all the document IDs into an array and use the joinarray() function with the separator ";". This will save the list as one long string with semicolons separating the individual IDs. This allows you to save all the IDs into one varChar row in your database. When you want to call that data back into an interface, you can use the split function separate the IDs again into individual document IDs. 

Reply
  • 0
    Certified Associate Developer

    One option would be to create a rule input of type document with multiple values and save the multiple documents into that rule input. After that save all the document IDs into an array and use the joinarray() function with the separator ";". This will save the list as one long string with semicolons separating the individual IDs. This allows you to save all the IDs into one varChar row in your database. When you want to call that data back into an interface, you can use the split function separate the IDs again into individual document IDs. 

Children
No Data