I am assisting a client with setting up their adva...
# advancedpdf
g
I am assisting a client with setting up their advanced forms and have run into an issue with calling custom fields in a form. I am VERY new to NetSuite (two weeks old) and can't seem to reverse engineer what the previous Oracle developer created. There is a custom form that has been tied to a custom button that creates a printable label. I am trying to call the same product image used in that form/label in our estimate form. In the current custom form for the label they assign '*itemurl*' to '*customdata.itemurl*' and then call it on the page with an IF/ELSE statement to populate the image URL to an image tag. These "assign" lines actually error out in the NetSuite template builder but they still work in creating the label:
Copy code
<#assign itemlabel = customdata.itemlabel />
  <#assign itemdescription = customdata.itemdescription />
  <#assign upccode = customdata.upccode />
  <#assign itemurl = customdata.itemurl />
  
  
    

    <td rowspan="3" width="210px">
      <#if itemurl?has_content>
        <img style="width:184px;height:184px;background-color:#999;" src="${itemurl}" />
        <#else>
          <div style="width:184px;height:184px;background-color:#999;"></div>
        </#if>
      
      
      
      </td>
I have tried to follow this syntax in the Estimate form but it does not pull in the image. What exactly am I missing? I have tried using the "item." prefix as well as the "customdata." prefix using the same "itemurl" ID that he used with no luck. I have even tried using the IDs (custitem174, custitem173, etc) with those same prefixes, and still no luck. I need to pull in the product image, ITEM NAME/NUMBER, and DISPLAY NAME fields.
message has been deleted
message has been deleted