Hello All,
Using the file upload component for file upload. above error is coming while submitting the form.
Following things are verified.
User is having the sufficient privileges for folder,
Folder is document type folder only.
Please let me know what else can be the issue.
Start form or user input task, in both same error is coming
Thanks,
Bhargavi
Discussion posts and replies are publicly visible
Can you share your fileUploadField code and make sure that destination folder is given and users have atleast viewer permission to the folder
Oho yeah, as mentioned in the question user is having permissions to the folder and the thing is that it works sometime and not working
Code snippet would be helpful to debug the issue
Can you please check whether you have used a!fileuploadfield() in the same form anywhere else? (maybe in form validation or in buttons) and also check whether the target parameter is defined for a!fileuploadfield() in all places.
This error will occur if the target parameter is not given for any of the a!fileuploadfields
The target should be of Folder type. If it is dynamic the type of it should be converted using tofolder().
Else, check whether it is accuring in all browsers.
Anupriya Sathyamoorthy , your correct I was using the fileupload component for some other stuff like to get the size and some validation in expression rule. If I give target over there also, it's working fine. And not uploading the file multiple times as same document id I am passing .
Glad!!, it resolves your issue.
As you said, It won't upload file to the target multiple times because the same variable is used in all places.
Anupriya
Can u suggest me what I do .I am also stuck with same