Hi All,
I'm new to Appian and have a requirement where a user should upload multiple documents and delete any accidentally uploaded documents.
On submit, the process model would kick start where the documents details get stored in database. Also,we need to delete the documents if any.
After file upload , Need to get the link to download.
It would be helpful if I get any sample code to refer.
Thanks....
Discussion posts and replies are publicly visible
I'm a little confused by what your requirement / desired process flow is here?
srilakshmit said:a user should upload multiple documents
(simple enough...)
srilakshmit said:and delete any accidentally uploaded documents
what/who is determining which document(s) are considered as "accidentally uploaded"?
srilakshmit said:the process model would kick start where the documents details get stored in database.
(this sounds fine also. should be straightforward to implement.)
srilakshmit said:Also,we need to delete the documents
Why would you delete the documents just after uploading? Am I missing something?
srilakshmit said:After file upload , Need to get the link to download.
FYI there isn't really any "link" to get, really - all you need is the Appian Document ID for each uploaded document (which you get automatically after submitting the original form the document(s) were uploaded on), and a!documentDownloadLink() on an interface. So just make sure your database row for a document includes its Appian Document ID.