RE: How to show custom fields in Item Label pdf template
Hello. I have turned on the Advanced PDF template for Item Label.
I edited the standard Item Label PDF template but I want to show some custom fields I added to item.
That label object has only a few number of variables but I want to print out a few more fields like “itemid”, “custitem_id”, etc
How could I do this?
Here is the code snippet
<#list records as label>
<table cellpadding="5" style="width: 2.65in; height: 1in;border:1px solid #0000dd;float:left;margin-right:0.1in">
<tr><td>${label.itemid}</td><td align="center">Price: ${label.price}</td><td align="center" ><b>Custom PRICE: ${label.custitemfield_id}</b></td></tr>
</table></#list>
I tried "label.item.itemid" but it didn't work neither.
Any help would be appreciated.
I’m not sure if you ever got your answer, but the answer is no. The advanced pdf for item labels is really locked down to just a few non-logical fields. I have heard that you can get some custom fields with the basic pdf, but I never work with those, so I can’t verify. I would go down the path of a saved search advanced pdf.