How to modify existing label layouts?

You can edit label layouts to match your own needs. To do this:

  1. Open label setup and on the action bar select Configuration, then click Customize label layouts.

  2. A page with all available label layouts opens. Select the desired layout row and run Export Layout.

  3. The layout file is downloaded. Open it 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.

        Word search box for the XML Mapping Pane

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

        XML Mapping pane with the label data source selected

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

        Menu for inserting plain text from XML mapping

      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.

      Barcode font selection in Word

      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.

      Word dialog confirming a font change

  5. Open label setup again and select ConfigurationCustomize label layouts.

  6. Select the layout row you edited and click Replace Layout. Confirm with Yes to upload the updated Word file.