You are viewing limited content. For full access, please sign in.

Question

Question

Forms creates empty folders when there isn't a file upload

asked on August 5, 2014

I have a form that has a number of upload buttons.  For each upload I'm storing them in Laserfiche in a separate folder.  My problem is that there may not always be a file uploaded so I don't want the empty folders created in Laserfiche - which is what it's doing.  Is there a way to stop this or did I miss something?

Thanks

 

0 0

Answers

APPROVED ANSWER
replied on November 3, 2014

This issue should be addressed in Forms 9.2.0. Please upgrade to that version. If you are still seeing folders being created even when no file is uploaded to the form submission, then please open a support case so the matter can be further investigated.

1 0
SELECTED ANSWER
replied on November 4, 2014

Upgrading to 9.2 fixed it.  Thanks!

0 0

Replies

replied on August 6, 2014

Thanks Rob,

 

To create the subfolders for the documents being uploaded I configured them in the Forms process modeler for each upload.  The path I've built ends up creating subdirectories in the folder where the original form is saved.  See screen shot attached.  So my thought is if a file isn't uploaded the process modeler should ignore this part.  But maybe I'm wrong.

 

Thanks for your help.

 

 

SaveFile.PNG
SaveFile.PNG (17.42 KB)
1 0
replied on August 5, 2014

Hey Sandy,

 

How exactly did you set up the process by which new folders are created?  Is this from the "Save to Repository" sevice task in the process modeler in Forms or did you have an accompanying workflow creating these folders?

 

If the answer is the process modeler in Forms, then you're definitely right.  The folders should not be created and this is quite a strange issue.

 

If the answer is that you have a workflow running and creating the folders in some way, then you may want to revisit the workflow to determine if things are set up correctly.

 

Either way, be sure to respond to this post and I'll take a deeper look once there's a bit more information.  If you could include a screenshot of the configuration of whatever you're using to create the folders (assuming there's no sensitive information displayed), that would likely help our troubleshooting efforts.  

0 0
replied on August 6, 2014

Hi Sandy. A bug has been filed for this issue. The thread will be updated when more information is available.

0 0
replied on August 6, 2014

Thanks I'll keep an eye out for the fix.

0 0
replied on August 6, 2014

Hey again Sandy,

 

I wanted to point out that there are workarounds available for this issue.  For example, take a look at this Answers post which is talking about how to pass a file upload field's attached document to Workflow (Nevermind the fact that they're looking to email the document instead of storing it.  Simply replace the Email activity with a Route Entry to Folder activity and configure it to suit your needs.)

 

If you're interested in using this option and would like more information or need additional help configuring the workflow, just let me know and I'll be happy to provide additional information!

0 0
replied on November 3, 2014

I'm looking at this issue again.  I am using the Forms processor to store the individual documents in specific folders.

This is the path:

\County Attorney\Contracts\01 Pre-Review\{/dataset/SubmittingDepartment}\{/dataset/_instance_id}\Supporting Documentation

And

\County Attorney\Contracts\01 Pre-Review\{/dataset/SubmittingDepartment}\{/dataset/_instance_id}\Insurance

And the folder structure in Laserfiche is like this.  So if an Insurance form isn't uploaded I don't want the folder to exist.

 

Thanks for your help!  Let me know if you have more questions.

 

 

0 0
APPROVED ANSWER
replied on November 3, 2014

This issue should be addressed in Forms 9.2.0. Please upgrade to that version. If you are still seeing folders being created even when no file is uploaded to the form submission, then please open a support case so the matter can be further investigated.

1 0
replied on November 3, 2014

Will do. thanks for your help.

0 0
SELECTED ANSWER
replied on November 4, 2014

Upgrading to 9.2 fixed it.  Thanks!

0 0
replied on December 6, 2016

We recently upgraded this customer from 9.2 to 10.1 update 3, and this problem has returned in this exact same Forms process. It is now creating the empty folders once again.

I did change the Save to Repository task to use the new "Save a form with current process data" rather than the deprecated option that was left over from 9.2. This did not resolve the issue with the empty folders.

0 0
replied on April 15, 2021

Hello,

We still have the same issue with Forms 10.4.5.292.

I saw a reply also for someone having the same issue with 10.1.

Is there a way to avoid it ?

Thanks

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.