NAV24 Logo
  • Homepage
EN | PL
Show / Hide Table of Contents

How to create custom label layouts?

To meet specific vendor and customer requirements, you may need custom label layouts that are automatically matched to the right entities. Microsoft Word is the recommended tool for creating templates.

Step by step

  1. Open label setup and from the action bar choose Configuration, then Customize label layouts.
  2. In the displayed list, find a layout with Default selected, click the row, and choose Export Layout.
  3. Open the downloaded file in MS Word.
  4. Customize the layout as needed, including:
    • Adding dynamic content using the XML Mapping Pane.

      1. Search for XML Mapping Pane in the Word search box.

        alt text

      2. After opening, the XML Mapping pane appears on the right. Select urn:microsoft-dynamics-nav/reports/N24LBL_Label_Report/71610495/.

        alt text

      3. Expand N24LBLLabelEntry, choose the field you need, then insert dynamic content at the desired place using Insert Content Control → Plain Text.

        alt text

      4. Dynamic content can be formatted the same way as regular text.

    • Adding barcodes

    1. Select the dynamic field and assign one of the barcode fonts.

      alt text

      1. Confirm the font-change prompt by clicking Yes. In Word, you will not see a barcode preview, but after uploading to Business Central it prints correctly.

      alt text

Add a new label layout

  1. In label setup, choose Configuration → Customize label layouts, then click New to add a layout.
  2. Enter the layout name and select Word in Format Options, then click OK.

alt text

  1. Upload the Word file you created earlier.
  2. Back in label setup, click Assign label layouts in the Configuration section.
  3. Select marking type, source (for example vendor or customer), and the corresponding label layout.

From now on, the layout is applied automatically when printing labels for that entity.

In This Article
Any questions? 👉 Contact us: produkty@nav24.pl ↑ Back to top