HomeGuidesRecipesAPI
HomeGuidesAPILog In

Creating your first Infiniti project

How to create an Infiniti project

Getting Started
Welcome to Infiniti! This document will guide you through the process of creating a simple Infiniti project.

In order to complete this project, you will need these prerequisites:

  • Internet Explorer (Other browsers may not have a 1clicksolution required for Infiniti to work)
  • .Net 4.5.1 or above
  • Microsoft Word

When the project is complete, you will have made an Infiniti project that allows users to answer a question which will dynamically edit a document.

Creating your first Infiniti project

How to create an Infiniti project

  1. Before we start creating the Infiniti project, we need to have a word document to use. Create a Word document which should look like this:
493
  1. Save the letter to your computer as a Word document.
  2. Open up the letter in Microsoft word.
  3. Add two curly brackets ‘{{word}}’ around the words which are coloured in as red. Doing this turns these words into something called placeholders. The colour of these words does not matter when turning them into placeholders.

For Infiniti to interact with the word template, you need to first define placeholders. Placeholders define a location within the template document that Infiniti will either Insert data into or apply logic to a location/range within the word template.

There are two types of placeholders, the first is an Insertion Placeholder and the second is a Selection Placeholder:

Insertion Placeholder

Defined by Project Designers by inserting two open curly brackets ‘{{’ and two closing curly brackets ’}}’ into a location within the template, e.g.: {{Insertion_Placeholder}}. This type of placeholder will be replaced with the data returned from the question set. The image below is what the document should look like if the insertion placeholders were correctly placed.

497

Selection Placeholder

Defined by Project Designers by inserting an open tag with a ‘#’ to specify the start of a range ‘{{#SelectionPlaceholder}}’ and a closing tag with a ‘/’ to specify the end of a range within the template ‘{{/SelectionPlaceholder}}’. This type of placeholder defines a range (section, text or page(s) of the document) to be inserted, removed or repeated within the template. The image below is an example of how selection placeholders are placed.

1915

📘

  1. The name of the placeholder applied is the text within the open ‘{{’ and closing ‘}}’ curly brackets. For example, the name of a placeholder, in this case, will be Name.

  2. If your placeholder names contain multiple words it is suggested that you use underscores instead of spaces as shown here: Customer_Name_2. It is advised to name your placeholders in accordance with the data being inserted, removed or repeated. This will help you easily recall which placeholder refers to a specific location.

Leave any punctuation or spaces around the placeholder.

Now that the place for your dynamic content has been held, we can create the Question Set that will ensure the right information goes in that place later. Make sure you save the changes you have made to the letter.

  1. Create the project and Question Set in Design.
    Now that the document is ready, it’s time to start Infiniti Design.

    **From Internet Explorer**, navigate to Manage and click the menu item labeled ‘DESIGN’ on the top-right navigation pane. Please ensure you are using the latest version of Internet Explorer for best results.
    
1225

📘

Note:

Clicking it will open the web design tool start-up screen (image below). Please take into consideration that new capabilities are being added to it regularly.

854

• Click Create new project. The New Infiniti Project dialog displays

1913

• Give your project a name and leave the type as ‘Form’
• Click OK to start your new project.

1917

The Design main screen depicted below is where you will create your Question Set. Question Sets have different:

• Layout types
• Question types
• Answers
• Placeholders

These are explained throughout this guide. For now, we will focus on simply creating the right Question Set for our particular example.

In the middle top of the form, there are five tabs with sub-headings: Common, Layout, Questions, Templates, and All. We will use these items under these tabs to construct our Question Set.

1915

• By default, you will have a page with the heading New Page 1. At the right in the Page Properties tab, rename your page in the ‘Page Title’ variable. Call it New Print Letter.

1915

From the top tab ‘Common’, click and drag a Text Field question and drop it onto New Page 1 within the question set. Note that there are many different question types, each with its own behavior and purpose.

1911

A new question has now been added along with a new answer, called New Question 1 and New Answer 1 respectively

295

• Click to select the question and in the Properties tab, change the Question Text to Enter Customer Name.

This will be the question’s wording displayed in Produce. For this scenario, leave all other fields to their default values, or blank.’

1915

Answers can be thought of as the user’s response to the question, and in the Question Set, they allow you to provide default values and control the format of the response.

• Click on the ‘New Answer’ at the left side panel. Then Click in the Answer Properties tab on the right panel, find the ‘Answer Name’: variable and rename your answer to Customer Name Answer.

1915
  1. Insert your tutorial document into the project.
    You will need the Tutorial 1 document to use it as a template for your project.

• Click the Templates tab at the top of your form and select the format of your document to begin upload. Please select Word. And upload the Tutorial Letter.

1911
  1. Link your placeholder to the answer.

Now we will add the placeholder to the question set, in the Customer Name Answer, ensuring the answer appears in the correct place in the document.

•  Click the **Customer Name Answer**
•  In the right pane, click the **Placeholders** tab.
1915

• Click New Print Run Letter expand button, to expand the document name, in our example New Project, to reveal a list of placeholders in the document.

1511

• Drag and drop the placeholder name, {{Name}} onto the Answer in the Question Set pane.

1909

The Question set should now look like this:

403

• Click to save the project to the database. Call it New Print Letter.

1913
  1. Now we are going to publish the project in Manage.

📘

The remaining steps to publish the project and generate a document are not part of Design, but are included here to cover the entire process.

• Open Manage and log in via your internet browser. Make sure you create the folder in Publish Folders tab on the left pane.
• Create a folder called ‘Tutorial’ to publish the project, if one doesn’t already exist.

1917

• Navigate to the Projects screen and click in the project name New Print letter from the list of projects.

1913

• From the menu along the top of the screen, click Publish.

1917

• Click (...) to select the folder to which you wish to publish the project, then click Save.

1909
  1. Generate the document in Produce.

• Navigate to Produce from the top right-hand corner of the page.
• Find the New Print Letter project under projects and click to run it.

1509

• The project’s only question will display asking you to enter the customer’s name. Do this and proceed by clicking Submit.

This will generate the document

1511

• When the document has been generated, a link(s) will be presented for you to click in order to download and/or open the document.

955

• Confirm that Infiniti has placed the customer’s name you typed earlier into the appropriate part of the document.

731

If you would like to finish this document, you can add in a Text Field for Date and Days and drag the associated place holders onto the answers. You can even make sure a date or a number is answered by clicking on the Text Field and on the properties tab, change the Data type to whatever is required.

1915

👍

Practice with Infiniti

Testing is an important part of the Infiniti project creation process. We recommend to customers that they create and modify projects in a separate Infiniti environment not accessible to end-users.