Your custom tutorial is ready!
Please follow these steps

1 Layout preparation & import

Add placeholders to your layout

Requirements

  • The placeholder text can be located in any text frame, along any other text
  • You can choose any text you like (a-z, 0-9, _-)

Make sure that even the longest text from your datasource will have enough room in the text frame provided, or overset text will be produced.

2 MyDataMerge configuration

Editing text placeholders

A text placeholder will inject text from various sources into your layout in the merge process.

These sources can be one or a combination of:

  • Datasource content (Changes for each record)
  • Static text (Always the same)
  • Sequence (Different types of counting numbers)
  • Automator workflow (for editing outside of MyDataMerge – learn more here)
  • Custom (java-)script (learn more here)

To add an element, open the placeholder by double clicking it (or click the pen icon), then add an element by clicking the plus icon:

Add the element and the appropriate editor will open (e.g. datasource element):

Once you selected or entered the required data, the element becomes valid (green check)

Once every placeholder is valid, you are able to export.

Notes:

  • You can combine different elements here by adding them (plus icon above the eye icon) and drag & drop them up or down. The result will always be shown in the preview on the right.
  • Additionally every element has some settings (gear icon) which will provide a wide range of tools to transform your data (e.g. strip whitespaces, add space before or after and so on)

Apply Styling

Resizing text is helpful if it would otherwise produce overset text OR you want to raise the size of text to always fit with a maximum font size into the text frame.

  • Make sure you are editing a text placeholder [1].
  • Open the style panel [2].
  • There you can select one of three resizing options [3].

Fit frame to text

This will reduce or enlarge the text frame to fit the text inside. It will NOT change the size of the text itself. This is a standard option in InDesign.

Before and after merge with fit frame to text:

Fit text to frame

This will scale the text size of ALL text inside the placeholders text frame up OR down to best fit into the text frame its located in.

Before and after merge with fit text to frame::

Fit text to frame (decrease only)

This will (only) scale down the text size of ALL text inside the placeholders text frame if its too long to fit in the frame. This option will make overset text visible again without changing the text frame size.

Before merge – font size 12pt – and after merge with fit text to frame (decrease only) – font size 9.3pt:

3 Export

Filetypes

If you want to export to PNG files go to export > filetype and select the preferred filetype from the dropdown.

To configure dynamic file names go to Export > Filetype and make sure “One document per record” [1] is activated. Then a button “Filenames setup” [2] appears. Click it to configure your filenames.

If you click the “Filenames setup” button you can then select the filetype to setup custom naming. If you e. g. export to PDF files and keep a copy of your InDesign files you can define both the names for the PDF files and the InDesign files. Double click a row and enable it. Then you can configure it like a placeholder.

Extras

GREP text actions allow you to search and replace specific strings matching custom search patterns with other strings or patterns AFTER the merge process is completed. They are applied to all documents generated.

Go to Export > Extras > GREP text

Here you can activate or deactivate your configured GREP text replacements. To edit them click on the pen icon of each row, to add new ones click on the gear icon in the bottom right. This will take you to the preferences where you can add new actions or delete existing ones (Note: Predefined actions cannot be deleted. They are flagged with [System] at the end of the name):

GREP text actions are stored locally on your machine. Only activated actions will be added to project files.