Hi there,
We are trying to include some dynamic images in our Advanced PDF/HTML Templates, it is an Estimates template. We are trying to include an image of the item in the form. We have the images saved by the NetSuite item number on a server outside of NetSuite.
So if I enter ${item.item} in my list loop in the template, the item number prints correctly. Let's say item number is ABCD.
I have this image named ABCD.jpg on a cdn, so to view this image it would be "http://some.cdn.com/images/ABCD.jpg". In the template I would have something like:
<img src="http://some.cdn.com/images/${item.item}.jpg" />
However, when I go to save the template I receive the following error:
The template cannot be saved due to the following errors:
Can't load image from "http://some.cdn.com/images/.jpg"
java.io.FileNotFoundException: Forbidden
As you can see it is not populating the ${item.item} part of it, so the template thinks the image src is invalid and prevents me from saving the document.
Do I have something set incorrectly above?
Is there a fix for this?
Can I disable the Template "checking before save" function?
Thank you,
James