Click hereClick here
To create a Print Template in Messaging, you must have a Pageflex Studio Project file in .zip format from the Pageflex application. The project must be zipped by either using the utility within the Studio application, or the stand-alone Pageflex Packager Zip utility. You can have multiple Job Setup(s) in your project, but at least one Setup must create PDF output.
If you're using personalization, there will be variables in the Pageflex job that will need to be "mapped" to their corresponding fields in your Messaging database. To use fields from the platform, they must be associated as a Data Source lookup in Pageflex Studio (not a “Constant” or other variable source).
This topic describes how to create a new Print Template. Print Templates can also be created from the New Item screen (see Create a New Item: Print Template for more details).
To create a new Print Template through the Print Template screen:
-
In the Tool Ribbon, click + New Print Templates.
-
A "New Item" pop-up window is displayed. To select the folder where you want to save this new Print Template, click the folder name in the Navigation Tree on the left side of this pop-up. The "Where?" field is updated with the selected folder name.
-
In the "Name" field, enter a name for your new Print Template. This name must be unique within the selected folder.
-
From the "Data Source" drop-down menu, select the source table for this Print Template.
Note: You can never modify this source table after the Print Template is created.
-
Click save new item. The Workspace is refreshed to show a blank Print Template details screen.
-
In the Tool Ribbon, click Import Project. The "Upload Studio File" pop-up window is displayed. Either enter the filepath to your Pageflex Studio Project file, or click browse to browse to and select the file. Click upload file.
-
The Print Template screen is refreshed to show a list of all the variables that were identified within the Pageflex project. Every variable is marked as "NOT MAPPED." To map a variable to a field in your Messaging database, click the edit button (pen icon) next to a field. A "Data File Column" pop-up window is displayed.
-
The "Data Source" drop-down menu is populated with all of the fields on the source table for this Print Template. From this menu, select a field.
-
Optionally, enter a default value in the "Default" field.
-
Optionally, select a formatting mask from the "Formatter" drop-down menu. The formatting mask is used to control the appearance of the value in this field. For example, you can format date fields as "mm/dd/yyyy." The system includes formatting masks for dollar amounts, dates, numbers, and URLs. You can also use a formatting mask to truncate or encode the field value.
-
Click save column. The system closes the "Data File Column" pop-up window. The mapped field name is displayed next to the variable.
-
Repeat steps 7 through 11 as needed to map additional variables.
-
Optionally, you can add new columns to the Print Template that weren't included in the Pageflex project file. Messaging offers two methods for defining these columns:
Add One Column at a TimeAdd One Column at a Time
-
Click add new column. The "Data File Column" pop-up window is displayed.
-
The "Data Source" drop-down menu is populated with the following sections:
-
-
Custom Column: This section allows you to define a custom column "on-the-fly," rather than selecting an existing column. From this section, you can pick either:
-
-
Dynamic Block: Select this option if you want to use logic, or business rules, within a Dynamic Block to determine the value in this custom column. If you select this option, the system displays the "Browse Dynamic Blocks" pop-up window so you can select the desired Dynamic Block.
-
Static value: Select this option if you want to provide a static value that the system will use to populate this custom column.
-
Data Source Fields: This section contains all of the fields on the source table.
-
Table Joins: This section contains all of the system joins that have been defined for the source table. If you select one of these joins, you'll be able to pick a field from the joined table.
-
Campaign Fields: This section contains system-generated campaign fields, such as the Campaign ID.
-
Metadata Fields: This section contains all of the Metadata fields defined for this account.
-
System Fields: This section contains system-generated fields, such as the Primary Key ID (PKID).
-
By default, the "Project Field Name" field is populated with the name of the selected field. This value will appear within the header row for this column. Optionally, you can override this value and enter a different Header value. Note: If you selected either of the Custom Column options, the "Header" field is blank, and you'll need to provide a Header name.
-
The "Value" field is disabled unless you selected "Static value," in which case you'll need to enter the desired value here.
-
Optionally, enter a default value in the "Default" field. Note: the "Default" field is not displayed if you selected either of the Custom Column options.
-
Optionally, select a formatting mask from the "Formatter" drop-down menu. The formatting mask is used to control the appearance of the value in this field. For example, you can format date fields as "mm/dd/yyyy." The system includes formatting masks for dollar amounts, dates, numbers, and URLs. You can also use a formatting mask to truncate or encode the field value. Note: the "Formatter" menu is not displayed if you selected either of the Custom Column options.
-
Click save column. The system closes the "Data File Column" pop-up window. The new field is added to the end of the Print Template.
Add Multiple ColumnsAdd Multiple Columns
-
Click add multiple columns. The "Add Multiple Data File Columns" pop-up window is displayed.
-
The "Select Fields" list box is populated with all of the fields on the source table for this Print Template. From this list box, select one or more fields (use Shift + Click or Control + Click to select multiple fields).
-
Click add columns. The system closes the "Add Multiple Data File Columns" pop-up window. The new fields are added to the end of the Print Template.
Note: When you use the "Add Multiple Columns" feature, the system applies certain default settings to each new field. The "default" value will be blank, and the system will not apply a formatting option. If you need to modify any of these settings for a specific field, click the edit button (pen icon) for that field.
-
If you need to remove a field, click the remove button ("X" icon). The field is grayed-out to indicate that it's been marked for deletion. To complete the removal, click Save in the Tool Ribbon.If you need to edit the properties for a field, click the edit button (pen icon). The "Data File Column"pop-up window is displayed. Make any necessary changes, then click save column.
-
Optionally, you can assign one or more tags to your Print Template. To assign a tag, click on the "Add tag" field in the Edit > Tags section of the Tool Ribbon. The system displays a pop-up menu of all the existing tags. You can select one of these tags, or type in a new one and press Enter. You can repeat this process to add more tags. To remove a tag, click the "X" icon next to the tag label.
-
When finished, click Save in the Tool Ribbon.
|