frevvo Latest - This documentation is for frevvo v10.0. Not for you? Earlier documentation is available too.
The frevvo SharePoint Connector and Save to SharePoint document action wizard make it easy to create forms and approval workflows that validate information, route for signatures as required and save the data and documents to a secure SharePoint website. The Connector was designed to integrate with Office 365 SharePoint Online.
To use the SharePoint Connector, customers need a valid Office 365 SharePoint account.
The SharePoint Connector wizard, allows you to Save the form/workflow data and metadata to a SharePoint destination. The destination could be a folder in a document library and/or a list item. With point and click tools, designers can select the SharePoint destination and map form/workflow control values to the SharePoint metadata columns.
The frevvo SharePoint wizard guides you through connecting your forms/workflows to SharePoint.
First, choose which configuration scenario is best for you. Follow the links for detailed instructions.
In-house Customers connecting to SharePoint Online - This configuration has been certified by frevvo. Follow these steps:
frevvo only supports/certifies the SharePoint Connector running in the Apache Tomcat container.
frevvo must be added as a SharePoint provider-hosted add-in by your SharePoint Global Administrator.
We've provided the steps for configuring frevvo as a SharePoint App/Add-in. Keep in mind that the SharePoint UI may change from time to time, and modify as needed for your version. Refer to this Microsoft SharePoint article for more information about adding Apps/Add-ins.
Click Generate on Client ID and Client Secret.
Copy the Client Id and client Secret and save them to a text file. You will need to add these values when configuring your tenant for SharePoint.
Enter a Title. The Title can be anything that can differentiate your frevvo SharePoint application from other applications.
Enter the Redirect URI. The Redirect URI for frevvo is shown below where the <server>:<port> is the same host and port in the URL used to access frevvo.
https://<server>:<port>/frevvo/web/sharepoint/token
Cloud customers: app.frevvo.com:443
Enter the Permission Request XML. Copy/paste this xml into the Permission Request XML box.
<AppPermissionRequests AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="Manage" /> </AppPermissionRequests>
Cloud and On Premise customers must configure their frevvo tenant to connect to SharePoint as a client. frevvo expects that customers will only be integrating with one SharePoint instance for their organization. You will need the SharePoint Client Id and the Client Secret from Step 1.
Follow these steps:
Login to frevvo as the tenant admin.
Click the Edit Tenant link.
The Connector URL field can usually be left blank. This field is not necessary if you are using the SharePoint Connector built-in on frevvo Cloud or you are an On Premise customer, which are the most common scenarios. This URL is only needed if you are using frevvo Cloud but installing the connector locally.
Enter the Client Id and the Client Secret that you saved in Step 1 into the respective fields.
Navigate to https://<tenant>.sharepoint.com/_layouts/appprincipals.aspx - change the <tenant> to the name of your SharePoint tenant - e.g. https://frevvo.sharepoint.com/_layouts/appprincipals.aspx
Find your registered application in the list and and look at the App Identifier column. The unique identifier after the @-sign in the App Identifier is the app realm and must be entered in the Realm field.
Login as a frevvo designer user. If you are On Premise frevvoconnecting to Sharepoint in the cloud, use the URL https://<server>:<SSL port>/frevvo/web/login. Example: https://localhost:8443/frevvo/web/login. Port 8443 is the default. Create your form or workflow with controls that capture the data that you want to store in the columns configured in the Lists and Libraries on your SharePoint site. Go to Settings mode in the Guided Designer navigation bar. You can set up a single Document Action to write to two places (i.e. SharePoint Library and List). Route 1 will be automatically expanded. Expand Route 2 to add a second destination if desired. The Site URL is automatically prefilled from the SharePoint tenant configuration. This is the SharePoint site or subsite containing the destination e.g. https://frevvo.sharepoint.com. Remember this URL must use the https protocol. Pick a Destination. SharePoint destinations can be a Library (and optionally a Folder), or List. Select Library or List from the Destination Type dropdown. Select a Content Type from the dropdown. The wizard automatically pulls the content type choices from your SharePoint site. The Content Type determines the available metadata column names for mapping. For example, if the destination is a List you would see Item as a choice for the Content Type. This means your submission is saved as a new item on your SharePoint list. Document Libraries show Document as the Content Type. Data - include the frevvo XML document (only available when sending to a List) Attachments - include attachments uploaded to your forms/workflows. In Workflows, when Attachments is selected you will see a list of available upload controls and can choose which to include in your Sharepoint submission. Add Metadata. Map the Control Names in your form/workflow to the column names in your SharePoint destination. A maximum of 15 controls can be mapped. Click the ADD METADATA button to add a rows. The wizard will populate the Column Name dropdown with all the columns in the destination In the Control Name field, you can type static text (not recommended), select one or more control from your form, or a combination of control(s) and static text. To use a control from your form, type an open curly brace and the first few letters of your control name, i.e. {Fir. A list of controls in your form appears. Select the correct one. When mapping Message controls with templates to the SharePoint Connector, the Save Value property should be checked. If you configure a second Route, clicking the Clear Route button removes the information for Route 2 only. Click theLogin and Create Form/Workflow
Configure Send to SharePoint Document Action
First-time SharePoint Login
You will be redirected to login to SharePoint or Office 365 if you are logging into your account for the first time. On successful login, you will be asked to grant or deny access for your frevvo SharePoint add-in.
Click Trust It to authenticate and grant permission to frevvo. You will not see the trust screen on subsequent logins. The wizard will display.Set up Route(s)
Workflows only:Clear Route
Save and Test
If you want to customize the name of the PDF Snapshot saved to SharePoint, make sure you have Save PDF checked. An optional field that is used to name the PDFs displays. You can use templates in this field. For example, if you have a control called EmployeeName in your form, you can type {EmployeeName} into the PDF Name field and the PDF's saved on your SharePoint site will be named {EmployeeName}.pdf.
If you leave the PDF Name property blank, frevvo uses the Form/Workflow Name as the pdf file name.
Special characters in filenames or folder names will cause the submission to be flagged with an error in the frevvo submission table. We recommend POSIX naming standards as there are some special characters that are not supported by the connector.
< (less than)
> (greater than)
: (colon - sometimes works, but is actually NTFS Alternate Data Streams)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)
This can happen if you do not name the PDF file, and it defaults to your form/workflow name, if that name has special characters.
You cannot use templates (i.e. {EmployeeName} in SharePoint Folder names.
When the form is submitted or the workflow is completed, submission data, metadata and attachments are uploaded to the specified destination in your SharePoint account. To verify your stored submissions on your SharePoint website:
At least one designer user that is going to be connecting forms/workflows to SharePoint with the Save to SharePoint wizard must also be a SharePoint user with the correct privileges to provide consent if your tenant is configured with the Azure SAML Security Manager.
Some common issues with solutions are listed below.
If the submission doesn't reach your SharePoint website - if frevvo does not receive a response back from SharePoint with a status code of 200, you can find information about the error from the frevvo submission table.
All tenant admin(s) in your tenant or workflow admin(s) configured for specific workflows will receive a Doc Post Failure notification email to alert them that an issue has occurred. The <server-name> will be provided in the email subject. Check for some of these common issues:
The maximum size for all frevvo connectors is set to unlimited. Any size file can be uploaded to frevvo and posted to SharePoint.
To determine the version of the SharePoint connector you are using:
Browse http://<your server:port>/sharepoint/info - the version information is returned as shown in the image.
If your users see an error like "org.springframework.security.oauth2.client.resource.UserRedirectRequiredException: A redirect is required to get the users approval" when accessing or trying to submit a form, the cause is that your SharePoint Token has expired. The user who owns the SharePoint Account (usually the designer) will need to login and provide consent to refresh the token. You can learn more in this Microsoft Documentation. Currently frevvo does not provide a way to generate a new refresh token automatically. This feature may be added in a future release. However, until then the SharePoint account user will have to provide consent for a fresh token every 6 months.