File Upload Field Behaving weird

Certified Lead Developer

Hi,

  I have found a weird case, while working with a!fileUploadField() to upload multiple documents at a time. When i upload same document for multiple times by drag and drop, then it's getting upload properly, but when i try to do the same by click on Add Icon (+) then it doesn't allow the same documents to be upload for more than 2 times. But if we insert an another document in mid then again it's allowing to upload the duplicate document that too for only once.

 

I understand, in real time, we won't have such requirement, but if Appian by default allows the duplicate document to be uploaded then why only for 2 times that too only when we go for Drag & Drop.

 

Attaching the Code :

 

 

load(
  local!docs,
  a!formLayout(
    label: "File Upload Test Sample",
    contents: {
      a!fileUploadField(
        label: "Upload Multiple file "&local!docs,
        target: cons!MY_FILE_CONSTANT,
        value: local!docs,
        saveInto: local!docs
      )
    }
  )
)

Attaching the Screenshot of Interface, you can find, document 88 001 is getting upload for max 2 times, afterwards we need to upload some other doc followed by this in alternate sequence.

 

 

Did anyone face the similar issue.

  Discussion posts and replies are publicly visible