Is this possible to Add Custom Record Type Sublist fields in NetSuite Advanced PDF/HTML Template

I am trying to add a custom record type sublist on an Itemfufillmet packingslip Advanced PDF/Templetes template.

I tried below two but it’s not working.

Is it possible to do this with advanced PDF/HTML temples? if not what is the best way to do this?


<#if record.MY_CUSTOMRECORD?has_content>

<#list record.MY_CUSTOMRECORD as sublist ><#if sublist_index==0>
${sublist.custrecord_field@label}
${sublist.custrecord_field}

<#list record.MY_CUSTOMRECORD as sublist>
myfield_lable
${sublist.custrecord_field}