I thought it was Available without login the url o...
# general
j
I thought it was Available without login the url of the file can be opened by anyone without having a NetSuite login for the given account. Company wide usage, you have to be logged into the same NetSuite account to reach the file.
👍 1
j
Last time I checked with NS they didn't seem to know either. We're trying to #include files in templates, where the templates are only used by people logged in, and we get errors if the files aren't marked "available without login". We tried company wide as well, still didn't work (and the rep didn't know what it meant....)
m
It's new as of 2019.2 and I think you need to use the
@filecabinet
directive
A new Company-Wide Usage box has been added to the file cabinet record. The Company-Wide Usage option controls the level of permission given to a specific file in the file cabinet. For example, check the Company-Wide Usage box to make an image available in a printing template while preventing unauthorized access to the image file through the internet. The Company-Wide Usage option is available on the file record page.
If you edit templates in source code, a new filecabinet FreeMarker directive is now available to reference files directly from the file cabinet. You can use this directive to embed text, images, and fonts that are stored in the file cabinet into the template. For example: <@filecabinet nstype="image" scr="https://system.netsuite.com/core/media/media.nl? id=21&c=4130331&h=fb3b8b4ac4f67b2c369b" />
a
FYI that the companywide usage and the @filecabinet directive only works on images, text files, and fonts, as it mentions here - PDFs or other file types are not supported with this checkbox.