Problem with the upload of a file in a sail form

Hello,

we have a problem with the upload of a file in a sail form. If i try to upload a file this error message appear "An Error Has Occurred

Could not upload “provaRiskManagement2”. Reason: The destination folder specified is invalid. "

I have not specified any folder. You can find attached the sail code

RM_uploadExcelFile.txt

OriginalPostID-213254

OriginalPostID-213254

  Discussion posts and replies are publicly visible

Parents
  • @marcoc Hi, if your intention is to replace an existent Document object in Appian with the new file being uploaded, specifying the existing Document object as target, as mentioned below might resolve the issue:

    a!fileUploadField(
    value: ri!document,
    \ttarget: ri!document,
    \t/* Assuming that ri!document holds the reference to the existent document object in Appian. */
    saveInto: ri!document
    )

    If above is not the case, you need to specify a Folder object in Appian as the target, as said by @stefanh.
Reply
  • @marcoc Hi, if your intention is to replace an existent Document object in Appian with the new file being uploaded, specifying the existing Document object as target, as mentioned below might resolve the issue:

    a!fileUploadField(
    value: ri!document,
    \ttarget: ri!document,
    \t/* Assuming that ri!document holds the reference to the existent document object in Appian. */
    saveInto: ri!document
    )

    If above is not the case, you need to specify a Folder object in Appian as the target, as said by @stefanh.
Children
No Data