Font

Reporter supports custom fonts to be added and used in the layouts. The font files needs to be stored in NetSuite's file cabinet and set to Available without Login in order for the editor to be able to read the file. To add a new font file in NetSuite, start the process of adding a new dataset and choose the type Font. NetSuite will automatically display an area to where you can drag and drop the file. In the Name field, enter the name used to reference this font in the editor.

When you save the dataset, Reporter will upload the font to the file cabinet and at the same time make the font available without login.

The font will now be available in the layout. However, you will still need to add the font in the code where applicable.

To use the font, open the context menu / Components / <NAME OF FONT> and select <NAME OF FONT> and the editor will automatically paste the necessary code in the editor.

An alternative to the above is to directly reference a font file using its url in the file cabinet. With the <link> tag you can add your font in the HEAD section (see example row 4 below). The {file url} should be replaced with the url from your file cabinet.

This solution is not advised as you hard-code the url in the code. Moving layouts between environments etc may result in the code to break.