Skip to main content
October 27, 2023
Solved

Specify the destination for each of the multiple uploaded files

  • October 27, 2023
  • 4 replies
  • 0 views

I upload multiple PDF files in the interface. I want to save the files in a folder that matches the name of each PDF file.

Best answer by stefanhelzle0001

I tend to disagree. In Appian we typically store the file on disk and some meta data to the database. That meta data stores the reference to the application it belongs to. There is no need to create folders.

As soon as you need to implement a security container for each application, create one folder for each application, create a group for each application and only allow that group access to it.

So, folders are for security, not for organization. Typically ...

4 replies

stefanhelzle0001
Brainy
October 27, 2023

For what purpose?

As you do not know the name of the file before uploading it, you cannot create the folder and hence, cannot assign it to the target parameter of the upload field.

So, you will have to upload all files to one temp folder, then create the target folders, and then, finally, move the files.

But .... why?!?!?

October 27, 2023

Thank you for your response.
I apologize for the lack of explanation.


For example, when you upload different types of applications, you want to save them in the corresponding folders.

stefanhelzle0001
Brainy
October 27, 2023

I tend to disagree. In Appian we typically store the file on disk and some meta data to the database. That meta data stores the reference to the application it belongs to. There is no need to create folders.

As soon as you need to implement a security container for each application, create one folder for each application, create a group for each application and only allow that group access to it.

So, folders are for security, not for organization. Typically ...