Passing Data on the Query String (URL)

Applies to Infiniti v8 onwards
 
Overview
 
For simple integration, or where only a small amount of data needs to be passed to an eForm, it may be appropriate to pass data on the query string. Any parameter name on the query string that matches an answer label in the question set will pre-populate that answer. A parameter passed on the query string may be used to query another data source to retrieve a further data.
 
When passing data on the query string an end user must already have an active session or the Infiniti authentication method must be capable of creating one automatically. Without an active session the user will be redirected to the login page. Valid methods of creating an active session are as follows:
  • Managing authentication via windows authentication where sessions are automatically created upon accessing the Infiniit site based on your windows user account.
  • Allowing guest access to Producer where sessions are created automatically under a single account. This is most common for public facing forms.
  • Calling the login method of the Infiniti Platform web service to create a session, and then append the returned SessionId to the query string along with any other data. This scenario is most commonly used with forms based authentication.
 
Project Configuration and Query String Structure
 
Any question that needs to be answered via the query string should contain an answer label. In the example below the first Label question is populated via the query string and is used by the second data source question that subsequently populates the Client Full Name user prompt.
 
 
The query string structure must be to the launch.aspx page with the templateGroupGUID appended as the ID attribute together with any answer labels as in the example below.
 
e.g. http://server/intelledox/producer/launch.aspx?ID=4548f711-730b-4c3b-86c0-90d42e8dcc26&clientid=2
 
 
The following table outlines the optional parameters that can be appended to the URL as well.
 
Parameter
Description
SessionID=<GUID>
 
A GUID representing the current session if it has been created by a web service call
 
Portal=1
 
Portal mode, no top bar or ability to save an answer file.
 
PortalSave=1
 
As per portal above but the save button is enabled.
 
WizardMode=1
 
Regular Producer interface without the home button.