File Cabinet FreeMarker Directive
If you edit templates in the source code, you can use the filecabinet FreeMarker directive to reference files directly from the File Cabinet. By using this directive, you can embed text, images, and fonts that are stored in the File Cabinet into the template.
For example:
<@filecabinet nstype="image" src="https://<accountID>.app.netsuite.com/core/media/media.nl?id=21&c=4130331&h=fb3b8b4ac4f67b2c369b"/>
When you add an image to a template and check the File Cabinet Item box, the <@filecabinet/> directive is used in the source code.
For more information about the File Cabinet, see File Cabinet Overview.
For more information about including images in advanced templates, see Including Images in Advanced Templates.
Related Topics
- Syntax for Advanced Template Fields
- Entering a Field Manually to an Advanced Template
- Syntax for Body Fields
- Syntax for Sublist Fields
- Syntax for Address Subrecords
- Syntax for Fields from Joined Records and Searches
- FreeMarker Formatting Method
- Updating a Statement Template to Support Multiple Currencies