Connect FireForm and Denodo
On this page:
- Overview
- Set up the data source
- Set up the base view
- Set up the derived view
- Set up a refresh scheduler for base views
Overview
By connecting Denodo to FireForm, you can present form entry data in applications outside of FireForm. For more about Denodo, see Best practices for using Denodo at IU.
To view all the content available to you here, use the green log into the Knowledge Base.
button at the top of this page toMake a FireForm API user request
To request a FireForm API user status, you will need to submit a FireForm API Access Request. Indicate which API you are requesting access to, state that you need configuration assistance, and provide the Denodo IP addresses for DEV, STG, and PRD.
You will be provided with a Client Identifier and Client Secret code to be used in the steps below.
Set up the data source
- Navigate to
- Name: Enter a descriptive name of your choosing.
- Data route: Set to .
. Complete the following fields:
- Select .
- In the
- HTTP Method: GET
- URL:
https://[tenant]-fireform.eas.iu.edu/api/v1/forms/entries/[formcode]
- Check certificates: Yes
- autodetect encoding: Yes
tab, enter the following:
- In the
- Authentication: OAuth 2.0
- Authentication grant: Client credentials grant
- Client Identifier: The Client Identifier code provided by the FireForm team for the API user
- Client Secret: The Client Secret code provided by the FireForm team for the API user
- Authentication Method: Send client credentials using the HTTP Basic Authentication scheme
- Request signing method: "Authorization" request header
- Token endpoint URL:
https://[tenant]-fireform.eas.iu.edu/oauth/token
- Access token expires in: 3600 seconds
tab, enter the following:
- Select
- Ensure the token endpoint URL is
https://[tenant]-fireform.eas.iu.edu/oauth/token
. - Select .
- Select .
.
- Ensure the token endpoint URL is
- Test the connection.
- Select , and then select .
Once you have set up the first data source, you can reuse it by copying the data source and changing the form code.
Set up the base view
Set up the base view. Note that if there are no existing form entries, you will receive an error.
- Open the data source the base view will use.
- Select , and then select .
- Set the view name to
[descriptive name of your choosing] bv
. - Save the new base view.
- Switch to , and then choose .
- Set "Time to Live" as .
- Save the base view.
Set up the derived view
Create two derived views. You can use them to access all data for each form entry after joining them in the "shortidnumber" field.
Form main derived view
- Right-click a base view, and then select .
- Right-click , and then select .
- Switch to tab.
- Set the view name to
[descriptive name of your choosing] dv
. - Save the new derived view.
Form sections derived view
- Right-click a base view, and then select .
- Right-click (you may have to expand to find it), and then select .
- Switch to the tab.
- Check .
- Select and select .
- Switch to the tab.
- Pivot form responses:
- Select .
- In "Field Name", enter the name of a form element.
- Enter the following (replace
[ELEMENTID]
with the number ID for the desired element on the form):max(case WHEN(v.id=[ELEMENTID])THEN v.response ELSE NULL END)
This places the associated response per "element_id" into a new column.
- Repeat the steps as needed for each form element.
- Set the view name to
[descriptive name of your choosing] dv
. - Save the new derived view.
Note that all or a select few form elements can be pivoted. Multiple section derived views can be created.
Set up a refresh scheduler for base views
Each base view will need a schedule job to keep the data refreshed. For instructions, see Add a VDB Cache Refresh job to the Denodo 8 Scheduler.
You can use Tableau to display the FireForm data that is now connected to Denodo; see Denodo/Tableau ODBC Setup.
Related documents
This is document bgdh in the Knowledge Base.
Last modified on 2023-07-14 08:00:40.