Embedding an eForm in a URL

An eForm’s link for URL embedding can be constructed using the following template:

Copy
https://tenantname.thereforeonline.com/eForms/#/embed/FormNo

In this example, the “FormNo” is the number of the form found in the Therefore™ Solution Designer or in the link of the browser when you access/ edit the selected form.

This link requires the user to log in to the forms portal using a regular Therefore™ user account.

Note:

In order to embed an eForm in an HTML page using an iframe, the "Allow embed web application" setting must be set to "True". This is found in the advanced tab of the Therefore™ Solution Designer's object settings.

Optional Query Parameters

The following list contains several other query parameters that can be used when embedding eForms, and their impact.

Query Parameter Description
allowanonymous=1 Anonymous/ External usage where log-in is not required. This requires eForms users to be set up in the Therefore™ Web Client beforehand.
ssoToken=<token>

A valid JWT for user log-in (for example, from another authentication source, such as a company portal).

postAction=thankyou Displays a 'Thank You' page following a successful submission.
postAction=close Closes the browser window following a successful submission.
postAction=redirectto Redirect the browser window following a successful submission.
redirectUrl=<url to redirect to>

The URL used to redirect the browser.

Redirect URLs must be encoded using URL encoding. For example, this can be done by using a tool such as URL encoder:

https://www.urlencoder.org/

List of sample URLs

Description URL pattern
Embed the Therefore™ eForms web interface
Copy
https://tenantname.thereforeonline.com/eForms
EMBED - displays the eForm full screen without frame)
Copy
https://tenantname.thereforeonline.com/eForms/#/embed/FormNo
DATAENTRY - displays the eForm with frame/ navigation
Copy
https://tenantname.thereforeonline.com/eForms/#/dataentry/FormNo
DRAFTS - displays the eForm drafts with frame/ navigation
Copy
https://tenantname.thereforeonline.com/eForms/#/drafts
EDIT - displays the eForm with frame/ navigation
Copy
https://tenantname.thereforeonline.com/eForms/#/form/edit/FormNo
Anonymous Access
Copy
https://tenantname.thereforeonline.com/eForms/#/embed/FormNo?allowanonymous=1
Force Manual Authentication
Copy
https://tenantname.thereforeonline.com/eForms/#/?noSSO=1
https://tenantname.thereforeonline.com/eForms/#/dataentry/FormNo/?noSSO=1