Map iSheet columns to Contract Express templates

When you create a document from a linked Contract Express template, you may select one or more iSheet records, and then save the generated documents to either a folder in the
Files module
, or as an
attachment
in the linked iSheet.
You must 'map' iSheet columns in an 'input iSheet' to the variables required by the document template. This allows you to generate a single document, or a series of documents, from iSheet records.

Access Contact Express templates

You can add or edit templates from the site
Admin
module. Select
Contract Express templates
under
Document automation
.
Click the
More actions
button and select
Edit details
.
Select a
Linked iSheet
, which acts as the input iSheet for the linked template:
You must select a
Linked view
:
  • All views
    - map variables from all columns that you have permission to view
  • Specific views
    - map variables from columns in a specific view, useful if the linked iSheet has many columns
Template name and description
The template name and description, seen in the list of Contract Express templates, dashboard panel or the public access link, are set in the template file.
To set these values, open the template in Microsoft Word, then select
Contract Express
and
Template Setup
.
You can define the
Reference
,
Version
,
Description
and
Name
of the template. Select
OK
to save any changes.
Setting generated folder names for a set of documents
As of May 2023, you can set the name of generated folders to follow the rules set in Contract Express.
Select
Use the name of the top template, even when it produces no document
so that the folder name used when generating a set of documents matches the top template, which is usually the expected result.
Open
Contract Express
, then select
Admin
,
Profiles
and
Edit Profile
.
Select
Save
to keep any changes.

Working with the Input iSheet

The Input iSheet contains columns that are mapped to the variables required by the Contract Express template. This allows you to generate a document, or a series of documents, from iSheet records.
Map columns to variables
Select
Create mapping
(or
Edit mapping
if a mapping already exists). The
Mapping
window displays variables from the Contract Express template and the iSheet column mapped to that variable.
Auto mapping
If you used the function to import iSheet columns as Contract Express variables, the Contract Express variable names are identical to the iSheet column names.
As of August 2024, HighQ can automatically detect and map variables with the same name.
Select
Auto mapping pair
to automatically match variable names with iSheet column names and add them to the list:
Add mapping pair
To map additional variables, i.e. matches not identified with
Auto mapping pair
, select
Add mapping pair
to add a line to the mapping window.
Select the
Contract Express variable
drop-down, and then a variable from the template.
Select a variable that is not already mapped:
Then select the
iSheet column
drop-down, and then select the column that matches the variable. Options are limited to columns appropriate to the selected variable, i.e. only text, choice or date columns.
A complete map contains a list of all variables and columns, as shown in the image below.
To remove a mapped pair, click the red
x
on the right.
Select
Save
to finish mapping and return to the
Edit template
window.
Lookup columns with multiple lookups
If a Contract Express question is mapped to
Lookup column
that allows multiple lookups, when the questionnaire is auto-filled then only the first value is entered into the question field in the questionnaire for the following iSheet columns:
  • Single select choice
  • Number
  • Date.
  • Time
Time questions in date and time columns
If a Contract Express time question is mapped to a
Date and time column
, you must set the associated 'date' in the iSheet column to '
01 Jan 1920
' so that it only extracts the 'Time' part of the value.

Document automation settings

After you have saved the mapping, select where to save the document. You can select a specific folder, or an attachment column in the selected iSheet.
Select either folder or iSheet column, and click either
Change
to select the folder, or select an iSheet column from the drop-down menu displayed.
Once you have selected the location to save the documents, select
Add
to add your template to the list of templates available for this site.
You can now generate documents using your template. Click here for more information on how to do this.