I am trying to delete a folder's all documents, at interface expression mode, how to write the code and how to express the document name at a!deleteDocument(document:??????).
Thanks
Discussion posts and replies are publicly visible
As a!deleteDocument can only delete a single document, you will need to create a process to delete multiple documents.
Documents in Appian are referenced by their ID either in a variable of type Integer or of type Document.
what i create is a file upload interface, when it come in it already shows what and how many documents in that folder,
i want it could be delete with click on that files, if i just click one, then it deleted successfully, if i try to click two or more files, it just delete the first file i choose, the second or above just keep retaining at there.
Do you have a code snippet which shows how you delete the files?