Just upgraded Laserfiche Forms from 9.0 to 9.1. Why is the "file upload" control no longer working?
Question
Question
Forms 9.1 - File Upload no longer works.
Answer
Hi Ben,
The latest version of Laserfiche Forms, with all current hotfixes, is version 9.1.1.1522. Try applying this hotfix.
If moving to version 9.1.1.1522 doesn't resolve this issue, I have two options for you. It sounds like you are continuing to use the "Save to Laserfiche" checkbox in the "Publish" page of your processes.
Option 1: With version 9.1 of Forms, a "Save to Repository" service task was added to the Forms process modeler. Your easiest solution will be to use this service task instead of the "Save to Laserfiche" checkbox. You can read all about the Save to Repository Service Task, but one thing that it allows you to do is configure exactly what you save (which form(s), which uploaded files, etc.), where you save each item, and any metadata you would like to apply to these files. When using this service task, make sure to configure where you will be saving uploaded files in addition to where you will be saving the image of your form. You can see how to tab between these options in the service task below:
Option 2: Troubleshoot why your uploaded files aren't being saved using the "Save to Repository" checkbox. First, check the SaveToLFConfiguration.xml file in the the Laserfiche Forms program files "bin" folder (For me this path is C:\Program Files\Laserfiche\Laserfiche Forms\Forms\bin) to make sure that it is correct. You can also check the event viewer for the server where Forms is installed. Usually any errors will show up there.
Replies
Hi Ben,
Could you expand on what you mean by "the "file upload" control no longer working"? What do you expect to happen, and what is actually happening? What, if any, error messages are you receiving? Also, what version of Forms 9.1 did you upgrade to? If you haven't already, make sure you are on the latest hotfix for Forms.
In 9.0 the files selected to be uploaded using the "File Upload" control were saved in the repository along with the submission. In 9.1 the files selected are no where to be found in the repository. We just upgraded last Friday (July 11th). The version we have is Laserfiche Forms Version 9.1.1.1517. Does that include the latest hotfix for Forms?
You may want to check the settings for the upload field in the Process Modeler. Double-click the save to repository task and after where you select the form that should be sent to the repository, you should see two tabs. One for the form you selected and one for the upload field. Select the one for the upload field and see what is set for the Path.
Hi Ben,
The latest version of Laserfiche Forms, with all current hotfixes, is version 9.1.1.1522. Try applying this hotfix.
If moving to version 9.1.1.1522 doesn't resolve this issue, I have two options for you. It sounds like you are continuing to use the "Save to Laserfiche" checkbox in the "Publish" page of your processes.
Option 1: With version 9.1 of Forms, a "Save to Repository" service task was added to the Forms process modeler. Your easiest solution will be to use this service task instead of the "Save to Laserfiche" checkbox. You can read all about the Save to Repository Service Task, but one thing that it allows you to do is configure exactly what you save (which form(s), which uploaded files, etc.), where you save each item, and any metadata you would like to apply to these files. When using this service task, make sure to configure where you will be saving uploaded files in addition to where you will be saving the image of your form. You can see how to tab between these options in the service task below:
Option 2: Troubleshoot why your uploaded files aren't being saved using the "Save to Repository" checkbox. First, check the SaveToLFConfiguration.xml file in the the Laserfiche Forms program files "bin" folder (For me this path is C:\Program Files\Laserfiche\Laserfiche Forms\Forms\bin) to make sure that it is correct. You can also check the event viewer for the server where Forms is installed. Usually any errors will show up there.
Thanks, Blake ... this helps a bunch. I didn't realize that in 9.1.1 we now have the "save to repository" option in the service tasks.
Thank you also, Kelsey ... I just now read your post. I should be good to go.