Update Label of Pdf Templates, If file is available in NetSuite.

Info: JS-380

There are occasions in which we have to change the label or Font for a Given template.
In some cases, the related files (ttf) need to be up in file cabinet & we just need to add the file link in template.

This Should be further updated in the Table styling option.

// adding file link
<link name="thai-font" type="font" subtype="opentype" src="https://5293211-sb1.app.netsuite.com/core/media/media.nl?id=19089&amp;c=5293211_SB1&amp;h=BODc0F3mN34nV2vXkYhU-F61LzDbX_OuJlq520AMKbpUqcu7&amp;_xt=.ttf" src-bold="https://5293211-sb1.app.netsuite.com/core/media/media.nl?id=15577&amp;c=5293211_SB1&amp;h=oqY0rufk4ModjeDxS2EwyqtIbHAvLGjCAscJWhPv-Af6GEBT&amp;_xt=.ttf" bytes="2" />

// adding font style
<style type="text/css">* {
			font-family: thai-font, sans-serif;
		}
</style>

Leave a comment

Your email address will not be published. Required fields are marked *