Skip to main content
judew0004
December 22, 2023
Solved

Capturing document ID for future retrieval

  • December 22, 2023
  • 3 replies
  • 0 views

Hi,

I noticed that, in my current Appian environment, the document ID of the file uploaded via a!fileUploadField is the same as when it is saved in the destination folder eventually.  Is this to be expected?  I was under the impression that a temporary ID is generated when the file is uploaded and the document ID is only confirmed when it is successfully saved in the destination folder.

Also, is this document ID unique only within an environment?  I would like to capture the ID of the document uploaded and saved, and use it for future retrieval (via a download link).

Thanks.

    Best answer by stefanhelzle0001

    A few years ago, Appian switched from using a temporary ID and a different final ID to keeping the ID during upload and submit. And document IDs are only unique to the environment the file was uploaded. And yes, that ID, stored to the database can be used for creating a download link.

    3 replies

    stefanhelzle0001
    December 22, 2023

    A few years ago, Appian switched from using a temporary ID and a different final ID to keeping the ID during upload and submit. And document IDs are only unique to the environment the file was uploaded. And yes, that ID, stored to the database can be used for creating a download link.

    judew0004
    judew0004Author
    December 22, 2023

    Thanks, [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05], for the clarifications.