Page History
Section | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
frevvo - SharePoint Configuration Scenarios
- Cloud Customers Connecting to SharePoint Online - This configuration had been certified by frevvo. Follow these steps:
In-house Customers connecting to SharePoint Online - This configuration has been certified by frevvo. Follow these steps:
Info frevvo only supports/certifies the SharePoint Connector running in the Apache Tomcat container.
- Configure Live Forms frevvo as a SharePoint Add-inConfigure SharePoint for your Live Forms tenant
- Download the the SharePoint Connector. Rename it to sharepoint.war. Copy it to the <frevvo-home>\tomcat\webapps folder
- Configure SharePoint for your frevvo tenant
- Connect your Forms/Flows using the SharePoint wizard.
- In-house customers using SharePoint On-premise - this configuration is supported but not certified.
- Customers using SharePoint On-premise also need an Office 365 SharePoint Online account. This is necessary to obtain an authorization token. There is no data transfer from the SharePoint On-premise to SharePoint Online.
- Customers are responsible for configuring the On-premise installation and the integration with SharePoint Online.
- The On-premise version of SharePoint must be version 2013+.
- Refer to this Microsoft website for information about how to use Office 365 to allow
to authenticate.Frevvoproduct
- Live Forms frevvo Cloud customers connecting to SharePoint On-premise - This configuration is supported but considered unlikely as SharePoint On-premise requires your On-premise SharePoint to be exposed to the Cloud.
- Customers are responsible for configuring the On-premise installation and it's exposure to the Cloud.
- Customers are responsible for configuring the On-premise installation and it's exposure to the Cloud.
...
These instructions assume you are a frevvo Cloud customer or have an in-house installation of
up and running using the frevvo Tomcat bundle. Follow these steps: Frevvoproduct
Step 1 - Configure
...
frevvo as a SharePoint App/Add-in
Frevvoproduct |
---|
...
Code Block |
---|
<AppPermissionRequests AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="Manage" /> </AppPermissionRequestsAppPermissionRequests> |
Remember SharePoint only allows https.
Tip |
---|
We recommend that you create a separate user in SharePoint for frevvo forms connection, and use that user while configuring the Save to SharePoint wizard in frevvo forms. This frevvo specific SharePoint user always remains active and eliminates issues if the designer user configured your forms to submit to SharePoint using their own SharePoint login and then leaves the company. |
Step 2 - Configure the
...
frevvo Tenant for SharePoint
Cloud and in-house customers must configure their
Frevvoproduct |
---|
...
Login to
as the tenant adminFrevvoproduct Click the Edit Tenant link.
- Click the blue arrow to expand the SharePoint section.
Enter the Connector URL. - This URL is needed if you are using
in the cloud and installing the connector locally. Enter the URL where yourFrevvoproduct
installation that is configured for SharePoint is located. This URL must use the https protocol.Frevvoproduct The URL in the Connector URL field will override the connector URL that is specified in the configuration property in the <frevvo-home>\tomcat\conf\frevvo-config.properties file. In some cases you can leave this field blank.
Info The default value is shown below:
frevvo.sharepoint.connector.url=http://localhost:8082/sharepointEnter the Client Id and the Client Secret that you saved in Step 1 into the respective fields.
- Enter the SharePoint Domain Name e.g. <Your SharePoint tenant name>.sharepoint.com - there is a dot between the SharePoint tenant name and sharepoint.com
- To determine the realm for your SharePoint site :
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.
- Click Submit
- Browse http://<your server:port>/sharepoint/health (replace <your server:port> with your frevvo server:port) to check the status of the connector. If the connector is up and running, you will see { "status" : "UP" }.
- Proceed to Connect Forms/Flows with the Save to SharePoint wizard
Step 3 - Connect Forms and Flows with the SharePoint wizard
Excerpt | ||
---|---|---|
|
...
|
...
|
...
|
...
|
...
|
...
|
The wizard pulls the list of Libraries and Lists configured on your SharePoint site to populate the Library/List dropdown. Select Library or List. Only destinations that the user has access to are displayed.
...
|
...
|
...
|
...
|
...
|
...
...
|
...
|
...
|
...
|
...
Special Characters in Filenames
...
- If you leave the PDF Name property blank, Live Forms frevvo uses the flow/form name as the pdf file name. The PDF will not post to SharePoint generating an HTTP 500 403 status error if the Form Name contains special characters. To avoid any issues, name your form/flows using characters that are suitable for filenames and explicitly set the pdf name in the form/flow using the same standard. Following the POSIX filename standard (A–Z a–z 0–9 . _ - ) will ensure it works.
- Special characters in filenames will cause the submission to be flagged with an error in the
submission table. We recommend POSIX naming standards as there are some special characters that are not supported by the connector.Frevvoproduct
Section | |||||||
---|---|---|---|---|---|---|---|
|
Check Submissions on SharePoint
...
At least one designer user that is going to be connecting forms/flows 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.
...
If the submission doesn't reach your SharePoint website - if
Frevvoproduct |
---|
Frevvoproduct |
---|
All tenant admin(s) in your tenant or flow 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.
...
- Browse http://<your server:port>/sharepoint/info - the version information is returned as shown in the image.
...
Refresh Token Expired
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.