The following Control Script sample enables the Duplex mode for Section 1: let section = .sections This allows you to set the Duplex mode or for example applyĭifferent the Master Pages based on data. In version 2018.2 new scripting commands are added to dynamically set SheetĬonfiguration options from within a Control Script.
Typically this is solved by duplicating a print section, subsequently enable Duplex in the Sheet Configuration dialog and switch between the simplex and duplex section by creating a Control Script (or use the Conditional For more information on the Sass language see: or check the Sassy CSS article.Ī common requirement for dynamic print templates is the ability to switch between simplex and duplex. In Connect Designer options are added to the Stylesheets folder located in the Resources panel to create and compile Sass files (.scss file written using Sass 3 syntax). Sass (Syntactically Awesome Style Sheets) is an extension of CSS that enables you touse things like variables, nested rules, inline imports and more.
Preprocessor solves these problems and helps you write maintainable code.Ĭonnect Designer 2018.2 introduces Sass CSS preprocessor functionality.
#IMPOSITION WIZARD AUTOMATION HOW TO#
How to update a color value or font family across multiple rules and even across stylesheet files. styles for an address block, footer or dynamic table)? How to group/organize rules that belong together (e.g. Stylesheets files are getting larger, more complex and therefore harder to maintain. Maintenance of CSS styles for templates requiring many different style rules can become a tedious undertaking. See the Creating a Table of Contents using a Post Pagination script article for the recipe. To generate a cross section Table Of Contents. Information about the page elements reside on and their dimensions. The API for these scripts contains commands to fetch As the name implies these scripts are executedĪfter the personalization and pagination process. Secondly a new script type is introduce: Post Pagination scripts. Scripts are executed before the merge process and therefore run before the User scripts. These script types are now grouped to emphasize their execution order.
The first thing you will notice when looking at the Scripts panel is the separation of Control and User scripts In case JSON sample data is active invoking the JSON Sample Data… option will show the current dataĪllowing you to edit its structure and values. When loading data from disk the contents of the file are placed in the JSONĮditor. Invoking this option shows a wizard allowing you to select a JSON file on disk or paste JSON dataĬopied from a Workflow variable. A new JSON Sample Data… option isĪdded to the Add Data item in the File menu and a JSON Sample Data… icon is added to the toolbar of the Data Workflow process) and create an XML Data Mapper config.Ģ018.2 introduces options to load JSON data straight into the Data Model. In order to work with this data one had to convert it to XML first (for example on a branch in your Script step) and subsequently pass this to the Content Creation step.ĭebugging or designing your template with this data was a tedious process as there isn’t a native way to import One could simply construct a JSON structure matching the data model of the template (for example in a Run
This simplified the Workflows processes for one off documents (including rendering of webpages and emails). Over the past releases options to use JSON as a data source were added for Content Creation steps in Workflow. The current wizard is named after the style it uses: “Microperspective”.
#IMPOSITION WIZARD AUTOMATION FREE#
The 7 document types are the ones often used in ERP environments: Sales Invoice, Sales Packing Slip, Sales Confirmation, Purchase Order, Project Invoice, Collection Letter, and Free Text Invoice. Basically, all you need to do, is use the wizard to customize company information, logo, and color, and then create a data mapping that fits the template’s model. You to create 7 different document types with a uniform style, and already has a datamodel with appropriate scripting embedded. The collection of template wizards has been elaborated with a new category: ERP templates.