Skip to main content
December 2, 2021
Question

File Upload

  • December 2, 2021
  • 7 replies
  • 0 views

a!localVariables(
  local!file,
{
  a!fileUploadField(
    label: "File Upload",
    target:cons!fileUploadConstant,
    labelPosition: "ABOVE",
    maxSelections:10,
    validations: {},
    fileNames:"testFile",
    value:local!file,
    saveInto:local!file,
    uploadMethods: "SIGNATURE"
  )
}
)

I tried file upload but the file didn't get upload successfully to the appointed folder? Did i miss any smart service?

    7 replies

    tajinders0001
    December 2, 2021

    An attached document (in this case the signature) is uploaded to the folder only upon submitting the form.
    Until then it is stored in a temporary folder.

    December 2, 2021

    Do you mean i need a submit button?

    tajinders0001
    December 2, 2021

    Yes.