Auto submitting a SAIL form after user uploads a file

Is there a way to automatically submit the SAIL form after user browses and uploads a file? We have a SAIL form where user can upload a file (In Appian Knowledge Center), and then clicks on a submit (Upload) button to submit the form. Our requirement is we need to avoid this additional user clicks, and if the form can be auto-submitted after user clicks on Browse and uploads the file, that would be ideal. Thanks in advance.

OriginalPostID-251470

  Discussion posts and replies are publicly visible

  • @soumyab To the best of my knowledge there isn't such possibility for now.
  • AFAIK, this is not possible, but you could find some work around (still requiring an additional button press) where the rest of the form becomes disabled when a doc is uploaded, and the only enabled field is a submit button...
  • Rather than having a Submit Upload button and Submit button for form. Why cannot you just have one button that is Submit Upload?
  • Thanks everyone for your inputs.
    @ashvink, this is what we are doing at this moment, but that does not help user in doing multiple operations - first browse the file, then click on "Upload" button to submit the form and actually upload the file to KC, and then clicks on Submit.
    @sparshs, Our requirement is user will upload one file, then after upload is complete, user should see the file in a grid above (where user can tag some optional attributes to the newly uploaded file), and then user can upload another file etc.
    As the files are uploaded, we need to keep the user to the same page so that he can see / click on the files already uploaded.
    Once the upload process completes and user is done with tagging attributes to the uploaded files in the grid above, user submits the form.
    So user has to Click Browse to upload the file, then click "Upload" button to actually submit the process and upload the file to KC so that we get a valid document Id from Appian and then the other Submit after user provides associated relevant data about these files.
  • @soumayab - I may not be understanding fully, so please clarify if this is off base. But could you not have a file upload field within an editable grid? That way, the user clicks browse, they see the uploaded file in the grid, they tag any necessary additional attributes in the other columns, upload other files similarly, and then submit. Then it writes the documents to the knowledge center first, and then saves that Id to the row of attributes.
    The only potential downside of this plan would be that the user cannot actually download the uploaded file real time - they would have to leave the sail form to convert it from a completed doc upload field to a document link field. Thoughts?
  • Thanks ashvink. In our case, user actually wants to see the file after uploading (in real time), so that the user is sure he uploaded the correct document, but I can understand that may not be possible with current file upload feature in Appian. Thanks for the suggestions.
  • @soumyab - we have the same requirement that we had to talk the business down from due to this limitation, so if you find a way, let me know :)