Is there a way to upload a document temporarily until comments are added?"

Certified Associate Developer

I have requirement in which a user uploads a document while composing a comment. The uploaded document should be stored temporarily, and its ID held until the user submits the comment. If the comment is submitted, the document becomes permanent; otherwise, it should remain temporary.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Appian automatically handles this requirement through its default file upload behavior. When files are uploaded via a!fileUploadField, they're stored temporarily until form submission. Upon successful submission, Appian moves them to the permanent target folder, if the form is cancelled, temporary files are automatically deleted.

    No custom logic needed - just configure the target folder in your file upload field and Appian manages the temporary-to-permanent transition automatically.

Reply
  • 0
    Certified Lead Developer

    Appian automatically handles this requirement through its default file upload behavior. When files are uploaded via a!fileUploadField, they're stored temporarily until form submission. Upon successful submission, Appian moves them to the permanent target folder, if the form is cancelled, temporary files are automatically deleted.

    No custom logic needed - just configure the target folder in your file upload field and Appian manages the temporary-to-permanent transition automatically.

Children
No Data