HomeGuidesRecipesAPI
HomeGuidesAPILog In

Layout and Content Templates

Overview

SmartIQ allows you to create a Layout project which you can then use to control the style and structure of the resulting document.

A layout project can be assigned to multiple content projects to allow common elements like headers/footers and styles to be centrally controlled.

Creating a Word Layout Template

You will need a suitable Word document containing any styles that you plan to apply in the content template and at least one placeholder for the content to be inserted into.

You can also include other placeholders in the Layout template for additional elements that need to always apply to documents using that layout such as date and other information in the header, footer or body of the layout..

Below is an example layout document in Word. There are a number of specified styles which can be used in the content, there are some general placeholders and also a content placeholder that will be leveraged by the content template.

For more information on merging styles. See here

893

Creating a Layout Project

  1. Open Design and choose Create new project.
  2. Give the project a name and then choose the project type Layout.
  3. Now choose the layout template file you created.
578
  1. Click OK and create the new project.
  2. Open the Layout page on the left hand menu and select the Layout template you uploaded.
297
  1. In the Template Properties window, choose the placeholder you want for the content.
404
  1. You can add additional questions for any other placeholders to be associated with the layout if you wish. Anytime you use the layout, those questions will be include with the project.
307

Using the Layout Project

Once created a layout can be applied to any new project when it is published.

  1. Create a project for the content of your layout.. This project would often have a Word template of it's own with some suitable placeholders for completion as required. For example:
596
  1. Publish the content project in Manage. On the publish screen there is a select box marked Layout (Optional). Select the layout you created earlier and click Save to complete the publishing.
784 725
  1. Navigate to the content project in Produce. You will see that your project loads and includes any questions from both the layout and content projects. When you submit the project, the final document generated includes your Layout document and also the content in the position specified by its placeholder.
905

You can use the same Layout with multiple content projects and you can use the same content project with different Layouts - this allows you to control the look and feel of the resulting documents in a number of different ways.