Creating a Template
Make sure your have the requirements list handy and follow these steps to create a new template:
Step 1: Create a template
To create a template from scratch,
Log in to access the UniServe 360 Designer and click New Template.
Give the template a unique name
Select the page size and orientation
This creates a template and opens up the designer.
Step 2: Set up Template Settings
Before you start working with the template, specify the following for the system to process and generate the output.
To specify, go to Settings menu > Template Settings
Step 3: Input the Data
Keep the "Input Data" tab enabled in the right pane for easy access.
In the Input Data tab, browse and upload the input file (XML/JSON/DB/Text File) based on the data source type selected in the template settings. Once added, the data gets displayed and these (Text File-elements / JSON -keys / XML - tags) are referred to as "Data Objects."
<<IMAGE>>
Step 4: Design the Template
In the Layers tab, a default structure is available - a Group (Group1) with a Page (Page1) and a Layer (Layer1) within it.
<<IMAGE>>
For single page templates, you can straightaway proceed with designing the template. The template you design will automatically sit in the Page 1 in the Group 1. You can add as many layers as required.
But if the template includes two or more pages, maintain a separate page for each.
For additional pages, in the right pane, expand the Pages section and click '+'.
<<IMAGE>>
Now, let's explore designing a template that contains a Header, Footer, and Body.
First, create a basic template structure (E.g., Header, Body, etc.,) using the drawing objects. Add logo, name, copyrights, contact information, and other branding elements in these sections. To add these elements, use the drawing objects, image, and more. You can even use individual layers for Header and Footer for more control. Make sure you use this layer exclusively for these elements, so you can use it across the pages without having to design the same for each page.
Next, we will create one or more layers for the Body section based on the requirement. Before heading to this section, understand the simple objects and complex objects and how to handle them
Use drawing objects to create different sections in the body and set their look and feel using the respective properties.
Then, to insert simple data such as mobile number or customer name from the input file, simply drag each field onto the template, positioning it as needed.
Next, if your template involves any table, insert the table at the desired location in the template. Click it and access its properties to design the table as required. Once the table is ready, click the Data Association (<icon>) and select the required complex object. Click Ok to map.
Likewise, complete all the data to be inserted in the "Body" section. If the template includes more than one page, design the Body (main content) section in rest of the pages too.
Similarly, map the footer section.
Mapping any to input data is not mandatory. You can skip this step if the footer is static or if the template does not include a footer section.
This completes the template designing process.
Once the template is ready, add business rules. For more information, click here.
The next steps include, testing, version check-in, and processing the template.