web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

Enhanced Label (Layouts) Template Support

(3) ShareShare
ReportReport
Posted on by 12
Hi All,
I have been working with custom label layouts and have been finding it to be a useful tool.  Unfortunately, I have been unable to find more in depth documentation surrounding the /Enable label template support/ other than, /... Set it to Yes to create more advanced layouts that include {{Header ... }}, {{Row ... }}, and {{Footer ... }} elements..../
 
With that said, I did recently find this example from the Print Container Labels - Enable label template support which shows examples of: {{HeaderFirst ... }}, {{FooterFirst ... }}, in addition to /RowsPerLabelFirst=/, /StartYFirst=/.  Which indicates there is further functionality surrounding this enhanced label template option however, there really isn't any info or further examples I can find to suggest how this works or what other options are available to take advantage of.
 
This then leads to me to my question:
Can two /{{Row Table=XYZ .... }}/ type elements be utilized in one custom label layout and ideally, be nested within each other?  And if so, what does the syntax look like for Row, Table, StartY, IncY, RowsPerLabel, $position.YPos$, start & end of {{ }}, etc.?
 
This would enable users to print a label for multiple records in a table and at the same time, pull multiple rows of information per table record.  To my example below, from a transfer journal (likely applies to SO, PO, TO, etc.) I could print out a batch ID label for each transfer line that has multiple /Purchased/ transactions per line (due to registration) and at the same time, print out the batch attribute information.  I can get this to work when there is only one transaction per transfer journal line but as soon as multiple transactions exist, the attributes portion of the label will not work or print.  As a result, it appears likely that two nested tables within the label layout could allow this to work.
 
Could it be something like:
```
{{Row1 Table1=InventTrans_1 StartY1=100 IncY1=-50 RowsPerPerLabel1=1
 
^FO$position.YPos1$,200^AFR,28,10^FD$InventDim_1.inventBatchId$^FS
 
{{Row2 Table2=PdsBatchAttributes_1 StartY2=200 IncY2=-50 RowsPerLabel2=4
 
^FO$position.YPos2$,600,^AFR,28,10^FD$PdsBatchAttributes_1.PdsBatchAttribId$^FS
 
}}
}}
```
 
The above is just a guess as to what this could look like as when I have tested the general syntax above, it does not work.  I would appreciate any suggestions, documentation outlining the functionality, or working examples that others have used.
Thank you!
I have the same question (0)
  • CU04111246-0 Profile Picture
    10 on at
    Enhanced Label (Layouts) Template Support
    Hi, 

    I had the same issue regarding PdsBatchAttribId. I wanted to print a label for each product receipt line of a PO, with all its batch attribute values. In my case the number of batch attribute values per batch will always be 2. The following code will print for each item a label with its 2 batch attribute values:
    Important side note: this only works if each Batch has exactly 2 attributes. 
     
     
    {{LabelStart
    ...
    }}
     
     
    {{Row Table=PdsBatchAttributes_1 StartX=50 StartY=475 IncY=22 RowsPerLabel=2
    ^FT50,$position.YPos$^FB200,4,,^A0,15^FDMPN info: $PdsBatchAttributes_1.PdsBatchAttribValue$^FS
    ... info about item number, PO receipt, Vendor,... ...
    }}
     
    {{LabelEnd
    ...
    }}
     
  • ED-05060454-0 Profile Picture
    2 on at
    Enhanced Label (Layouts) Template Support
    Hi Dan
     
    I have a similar requirement for printing rows with data from multiple tables. Were you able to get this right?
     
    Thanks
    Emily
  • DP-05061402-0 Profile Picture
    12 on at
    Enhanced Label (Layouts) Template Support
    Hi Hana, I appreciate the help and the links that you have provided.  Unfortunately, I don't see any further details covering the "Row" & "Table" functions which is what I'm hoping to find.  Hopefully someone else can provide some more insight or more documentation gets released.
    Cheers,
    Dan
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Enhanced Label (Layouts) Template Support
    Hi,
    There are relatively few official documents about this function, which may not meet your needs. You can try to find relevant learning videos about this function on YouTube. You can also check the link below to see if it is helpful. Alternatively, you can wait for support from other people in the forum who are more familiar with this feature.
    License plate label layouts and printing - Supply Chain Management | Dynamics 365 | Microsoft Learn
    https://www.bing.com/videos/riverview/relatedvideo?&q=D365++label+template+&&mid=3B5A4967EB8EC79E1E763B5A4967EB8EC79E1E76&&FORM=VRDGAR
    https://www.bing.com/videos/riverview/relatedvideo?&q=D365++label+template+support&&mid=3537636AA6421AB5683A3537636AA6421AB5683A&&FORM=VRDGAR
    Best Regards,
    Hana

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 675

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 249 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 215 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans