How to source an image from the file cabinet on an...
# ask-stanley-ai
a
How to source an image from the file cabinet on an advanced PDF using its internal ID
c
AI generated answer (using internal Slack threads):
To source an image from the file cabinet on an advanced PDF using its internal ID, you can use the
filecabinet
FreeMarker directive in your Advanced PDF/HTML template. Here is an example of how to use it:
Copy code
html
<@filecabinet nstype="image" src="https://<accountID>.<http://app.netsuite.com/core/media/media.nl?id=<internalID>&c=<accountNumber>&h=<hash>%22/|app.netsuite.com/core/media/media.nl?id=<internalID>&c=<accountNumber>&h=<hash>"/>>
Replace
<accountID>
,
<internalID>
,
<accountNumber>
, and
<hash>
with your actual values. The
internalID
is the ID of the image file in the file cabinet. Please note that the
filecabinet
directive is a NetSuite-specific extension of the FreeMarker templating language, and it is used to reference files in the NetSuite file cabinet. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.810510635
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.805891693
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803490758
Please provide your feedback on this answer.