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.
B.SCA DEV Rookie Asked on February 3, 2023 in Administration.
Add Comment
2 Answers

you can try like ${label.custitem_id}

Rookie Answered on February 21, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.