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>

<#list record.MY_CUSTOMRECORD as sublist>