Can I import or reference an HTML file in Advanced...
# ask-stanley-ai
j
Can I import or reference an HTML file in Advanced PDF template?
c
AI generated answer (using internal Slack threads):
****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** In NetSuite's Advanced PDF templates, you cannot directly import or reference an HTML file. However, you can include images and other resources from the file cabinet using the FreeMarker directive. For example, to insert an image, you can use the following syntax:
Copy code
<@filecabinet nstype="image" src="https://<accountID>.<http://app.netsuite.com/core/media/media.nl?id=21&c=4130331&h=fb3b8b4ac4f67b2c369b|app.netsuite.com/core/media/media.nl?id=21&c=4130331&h=fb3b8b4ac4f67b2c369b>" />
This will fetch the image from the specified URL and embed it in the PDF. For more complex requirements, you may need to manually write or adjust the HTML/CSS code within the Advanced PDF template. Please note that while you can use HTML and CSS to design the layout and style of the Advanced PDF, not all HTML and CSS features are supported. You may need to experiment and test to see what works best for your specific needs.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83255589
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826549172
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824132264
Please provide your feedback on this answer.