All Collections
Printing
Adding fields to a custom template
Adding fields to a custom template

How to add data fields into your Katana template using the PDF Editor

Dayvid Lorbiecke avatar
Written by Dayvid Lorbiecke
Updated over a week ago

When customizing your own sales order or quote template, it's good to know how to add fields to the PDF. This article provides some guidance on how to add data fields into your Katana template using the PDF Editor.

Inside the template, you can access specific data fields based on the type of template (Sales order, Quote). You will also find demo data inside the template relating to the template type.

Adding a data field steps

  1. Head to Settings screen > Print templates and choose a quote or sales order template that isn't locked (create a new template if you only have default templates). Then, click on the 3 dots and choose Edit.

  2. Once inside the PDF editor, click on the type of component you want to add to the template (eg. Text).

  3. After clicking on the component you want, you should see a box inside the template that you can drag around and place where you want in the template.

  4. Once you've placed the component where you want, click on "Insert data field" from the right menu.

  5. Clicking this should open up a list of all the available fields that you can add to the component. For this example, let's choose "ship_from".

    NOTE: To access some fields, you need to open the expandable folders that they are in.

  6. After selecting "ship_from", you should see that the component is populated with the value from the demo data: Main warehouse.

  7. If you need additional text (such as a field name), double-click on the text component and type out the text.

  8. Preview the template via View > Preview to make sure everything looks correct and then File > Save the template.

Additional information for editing PDF templates

  • Different types of data fields (eg. date and text) should be in separate components.

  • On the template, you'll probably notice [HTML CONTENT] and [EXPRESSION].
    ​


    These signify areas where fields will be populated by existing Katana data. For example, Address fields use [EXPRESSION] in order to show/hide values that are available from Katana data. [HTML CONTENT] includes convenient formatting for SKU, serial number tracking, and batch tracking information.


    To see the exact contents of the fields, click on the field and choose FORMATTING from the right side menu and look at the Raw value.
    ​


    ​


    ​

  • See here how to add data fields to a table or container component.

  • Have any problems? Learn more about the PDF Editor or find additional support here.

Did this answer your question?