a!localVariables( local!file, { a!fileUploadField( label: "File Upload", target:cons!fileUploadConstant, labelPosition: "ABOVE", maxSelections:10, validations: {}, fileNames:"testFile", value:local!file, saveInto:local!file, uploadMethods: "SIGNATURE" ) } )
I tried file upload but the file didn't get upload successfully to the appointed folder? Did i miss any smart service?
Discussion posts and replies are publicly visible
An attached document (in this case the signature) is uploaded to the folder only upon submitting the form.Until then it is stored in a temporary folder.
Do you mean i need a submit button?
Yes.
Do you know how to delete file?
https://docs.appian.com/suite/help/21.4/Delete_Document_Smart_Service.html
You can either use a smart service or function
Do you know how to get all files belong to the folder?
https://docs.appian.com/suite/help/21.4/fnc_scripting_folder.html
Parameter: "documentChildren"