HI, I am trying to implement a functionality where I need to save documents from a file upload field to Appian. The button's submit parameter is false. Any idea how this can be implemented?
Discussion posts and replies are publicly visible
You can use a!submitUploadedFiles() function as Stefan said, but please note that if your interface is in a process model (which I assume is because you mentioned about submit: false()) then this function won't work. It works either on a site page, on a standalone interface that is not plugged in a Process.
Hi Harshit Bumb (Appyzie) , Yes this interface is in Process Model and using this function throws error "a!submitUploadedFiles() cannot be evaluated in this environment.". Any other way we can have this implemented?
No. The whole purpose of this is to start off the process.
What do you try to achieve with this upload?
Mayuri Mestry Why don't you just submit the form, and re-open the same interface, if required?
D
In that case, you can wait till the user clicks on Submit to OSC and then the documents will be uploaded automatically.
I agree! There is not much control in that I guess.