```<#list record.item as item> <#assign i...
# advancedpdf
j
Copy code
<#list record.item as item>
<#assign imageUrl = item.item.custitem_imgnesarticulos@Url>
<td class="itemline tableborders centerTD"><img src="${imageUrl}" width="50" height="50" /></td>
</#list>
w
Unfortunately, the advanced PDF templates do not work like they should... You'll have to add a column to the estimate to pull that field and use that instead. netsuite
j
I try but I cannot add a custcol with the image field type, and i cannot source it because the fieldtype is different
w
You can try to submit a case with NetSuite to get the templates working as intended.
Have you tried the Document type?
j
yes I tried with document but it doesn't allow the sourcing
d
need to add a custom transaction line field (text-type, non-stored) to source the URL of the image from the item record. Then use that custom field in your template have a read of this: Display item image on advanced PDF/ HTML print Forms (i.e, Purchase order) : Netsuite
j
Let me try that solution, thanks
With the text-type field or even document-type field, I cannot do the sourcing. "The field type must match the type of the field you are sourcing from (Image)"
d
the reddit post implies using a non-stored field on the item record to construct the URL of the image (from
{urlcomponent}
?) This article has a better step-by-step, but wants you to populate the item record field manually... Have you looked for a SuiteAnswer on this? I'll have a quick look myself