Skip to content
Smart Templates Manual Website Manual for your AI

Creating a new template

In short

A new template is created in two steps: first name and primary source, then page, font and number formats. Afterward the sheet holds a basic framework that you continue to design.

Click New

At the top in the template row, click “New”.

The template row at the top of the designer: on the left “Template” with the field “Rechnung (Handbuch)”, next to it the buttons “Template settings”, “New”, “Import” and “Export”.

Step 1: Name and primary source

The window “New template · Step 1 of 2” opens.

  1. Under “Template name”, enter a name, for example “Auftragsbestätigung”.
    The upper part of the window “New template · Step 1 of 2”: the title, a short note that the data comes first, and the field “Template name” with “Auftragsbestätigung”.
  2. Under “Data source”, click “⚙ Choose data source …”. The window “Manage data sources” opens.
    The section “Data source” in the step 1 window: the wide button “⚙ Choose data source …” and below it, in red, “A template cannot be created without a primary source.”
  3. Click “★ Set primary source”.
    The upper left part of the window “Manage data sources”: the note “No primary source yet. Choose the table this template prints from — fields and relationships then come from Dynamics.” and below it the blue button “★ Set primary source”; next to it on the right “Choose a data source on the left — its record from Dynamics will appear here.”
  4. In the window “Choose a table”, find the table you want to print for, such as “Quote” or “Order”, and click it.
    The window “Choose a table” with a close mark at the top right and a search box containing “Angebot”. Below it the result list; each row shows on the left the display name of a table and on the right, in gray, the name under which Dynamics keeps it. In first place is “Angebot” (quote), followed by “Angebotskunde”, “Angebotsposition” (quotedetail) and further tables whose display name begins with “Angebot”. The last row is cut off at the bottom; the list can be scrolled further.
    The table selection: typing filters the list.
    1. 1Typing filters the list. The search covers the display name and the name under which Dynamics keeps the table (on the right in gray).
    2. 2A click on a row chooses that table as the primary source.
  5. Right afterward, the designer asks for a “Sample record” on which you will check the template later. Click a record or “Continue without a sample record” .
    The window “Choose sample record · Rechnung”: at the top a search box and the selection of the view, below it the wide button “Continue without a sample record” and a table of records, each with invoice number, name and total amount.
    Here for an invoice; for a quote the window looks exactly the same.
  6. Back in the “Manage data sources” window, click “✓ Confirm” at the bottom right, not “Close” at the top right. The designer then reports that you should still press “Save” to store this in Dynamics. When creating a template, this does not apply: the template is created at the end with “Create template”.
  7. Step 1 now shows “⚙ Manage data sources — Primary source: Angebot” and “Ready”. Click “Continue to settings →”.
    The window “New template · Step 1 of 2”, completely filled in: name “Auftragsbestätigung”, under “Data source” the button “⚙ Manage data sources — Primary source: Angebot” and the note “Ready. Additional data sources are optional …”; at the bottom “Cancel” and the blue button “Continue to settings →”.

Step 2: Page, font and numbers

After “Continue to settings →”, the process continues in the same flow: the window “New template” opens with the settings. At the top it says “Step 2 of 2”, and next to it once more the name and the primary source. Below are the template’s basic settings in tabs:

TabWhat you set there
“Page”The page size, the margins, the guides of the canvas, the default for the header row of tables and the name of the file (default: the name field of the primary source, see Template settings: PDF name).
“Font”The font for all texts without a font of their own.
“Numbers & date”The “Template language” for date and numbers, the date formats and the currency.
“E-invoice”Whether the template additionally generates an e-invoice, according to which standard and with which output (see E-invoice: ZUGFeRD and XRechnung). At the top is the AI box; the button “Open AI assistant” is gray there until the template has been created with “Create template” (see E-invoice: Assigning with AI).
“Data”Keep warm, the data sources and the sample record.

It is the same window that you later open via “Template settings”; what each setting does is described under Template settings.

To begin with, the defaults are enough; you can change everything later via “Template settings”. Click “Create template”.

The window “New template”, step 2 of 2, with the name “Auftragsbestätigung” and “Data source: Angebot”. The tabs “Page”, “Font”, “Numbers & date”, “E-invoice” and “Data”; “Page” is open with the page size “A4 (210 × 297 mm)”, the margins 18, 15, 18 and 20, the check mark “Show guides in the designer” and the section “Tables” with the check mark “Repeat header row on following pages”. At the bottom “Cancel” and the blue button “Create template”.

With this, the template is created in Dynamics immediately and appears in the list for everyone; if you decide not to keep it after all, remove it with “Delete”.

Good to know

If you cancel, with “Cancel”, the Esc key or a click next to the window, the designer asks in the window “Discard new template?”; in step 1 only if you have already entered something. “Discard” discards name, primary source and settings, and the template that was open before is back unchanged. You cannot go back from step 2 to step 1.

What is on the sheet afterward

A new template is not a blank sheet but a basic framework of three parts:

A new, otherwise empty A4 sheet on the canvas. At the top a blue dashed frame with the large, bold text “Kopfzeile” on the left and a blue line at its bottom edge; below it a gray dashed frame with the bold blue text “Gruppe”; at the very bottom a blue dashed frame with a thin gray line, on the left the small text “Fußzeile” and on the right the small text “Seite”, the blue marker “Page #”, “von” and the blue marker “Pages Σ”. The rest of the sheet is white.
A new template after “Create template”. The dashed frames are shown only by the canvas.
  1. 1The header, 26 mm high, with the text “Kopfzeile” (16 pt, bold, dark blue) and a blue line. It repeats on every page.
  2. 2A group with the text “Gruppe” (13 pt, bold, blue). It appears only once, on the first page. It is at least 20 mm high and grows with what you put into it: “Automatic height (fit to content)” is switched on.
  3. 3The footer, 12 mm high, with a gray line, on the left the text “Fußzeile” and on the right the page number (both 7.5 pt, gray). It repeats on every page; the blue markers become the numbers in the PDF.

The texts are only examples: replace “Kopfzeile” with your logo, for example, and “Gruppe” with address and document data. You can change or delete all parts; more on this is described under Pages, header and footer.

Good to know: primary source and data sources

All the fields the designer offers you come from the primary source. You do not need further sources to begin with. Everything about the primary source, further sources and the sample record is described under Data sources and relationships.

Good to know

The primary source cannot be swapped for a different table later; if you made a mistake, cancel the draft and start over with “New” (see Data sources and relationships: Setting the primary source).

How to continue is shown in Your first template: Dragging an object onto the sheet.