|
If you use the Live Forms Cloud hosted server, the connector is already installed and configured. You can immediately begin to Connect your Forms/Flows using the Save to Box.com wizard.
The Box connector can be installed behind your firewall where it can connect to your back end system in order to read/write data. These instructions assume you have an in-house installation of up and running and you are using the frevvo Tomcat bundle:
To install the Box connector in the same tomcat as :
You must create a content API application for . A tutorial that will walk you through the basics is available on this website.
Follow these steps;
|
The Box connector is configured using context parameters in the file, frevvo.xml.
Follow these steps:
Navigate to <frevvo-home>\frevvo\tomcat\conf\Catalina\localhost directory.
Locate the Box Connector section of the file.
Add the client id that you copied and saved earlier as the value of the frevvo.box.connector.client.id parameter. Paste the client id for the box application that you created for in between the quotes.
Save the changes to the frevvo.xml file.
Start . If you are running
v7.1+, remember to start the Insight server first.
Login to your box account and create a folder for your form/flow. Let's say you have an Employee On-boarding workflow and you want to store all of the submissions in a folder named Employee On-Boarding.
To ensure interoperability across file systems, it is recommended that you follow a good naming standard such as POSIX when creating files and folders. For example, folder names can't contain slashes so a folder named '1/2/15' would not be valid. |
Click the Edit icon to open your form/flow.
Click on the what happens to my data? icon on the designer toolbar.
Select a parent folder (e.g. Employee On-boarding) and a submission folder. Let's say you want the name of the submission folder that contains the documents to be the new employee's First Name and Last Name,. Use a template that’s dynamically generated e.g. {FirstName} {LastName}. You can select the fields in your form/flow by clicking on the dropdown to the right of the Submission folder field.
Select the types of documents you want to send to box as part of the submission. The choices are:
If you have Pixel Perfect mapped PDFs (ex: W-4, I-9 etc…) associated with your forms/flows, choose the action you want to take from the Send Gen Forms control:
Save your form or flow by clicking the save and exit icon.
|
When the form or flow is submitted, the documents will be uploaded to your box account in the specified subfolder. All subfolders reside in the parent folder (Employee On-Boarding in our example).
Once in box, you can use all their features to collaborate, share and manage the submission documents.
Follow these steps to verify your stored submissions on box:
Box will not open files without a file extension. Be sure to include the file extension in the name of any acroforms uploaded to |
Typically, a new subfolder is created on Box for each submission. Let's say you decide to send a submission to an existing subfolder and in the submission there are file(s) with the same name as file(s) that are already stored in the existing subfolder, It is reasonable to expect that the existing file will be overwritten by the new file with the same name or there will be 2 files with the same name in the existing subfolder .
Box handles this situation by:
For example, an Employee On-boarding for Max Jones stores mapped PDFs of the I-9, W - 4, Connecticut W - 4 and the workflow after the first submission. Max runs through the Employee On-boarding a second time resulting in files with the same name as those generated from the first submission. Viewing the subfolder for Max Jones shows revision numbers for version 2 of each file
If the submission doesn't reach box.com, your tenant or flow admin will receive an Doc Post Failure notification email reporting information about the error.
To determine the version of the Box connector you are using:
To monitor Box connector activity:
The default size configured in the cloud for files uploaded to box.com is 10Mb - the same maximum file size for attachments in
. Since users are prevented from uploading files to
that exceed the maximum file size value, the files will not be posted to box.com either.
Uploading a file larger than 10 Mb generates the error shown in the frevvo logfile.
15:57:33.731 |-ERROR [http-nio-8082-exec-8] [o.s.b.c.w.ErrorPageFilter] - Forwarding to error page from request [/file] due to exception [Could not parse multipart servlet request; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException: The field Upload24 exceeds its maximum permitted size of 1048576 bytes.] org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException: The field Upload24 exceeds its maximum permitted size of 1048576 bytes. |
If you try to upload a file to your form/flow that is bigger than the specified size, users will see this message:
In-house customers can control the max file size by configuring the frevvo.attachment.maxsize parameter in the <frevvo-home>\tomcat\conf\Catalina\localhost\frevvo.xml file.