Hi there,
I've written some CSS files and saved them to the file cabinet so they're available for use with Advanced PDF/HTML templates.
I've also saved some fonts to the file cabinet for use in the same templates.
A link in the header section of the freemarker template looks something like this:
<link type="stylesheet" src="https://system.na2.netsuite.com/core/media/media.nl?id=1234&c=567890&h=123456789&_xt=.css" />
The problem is I hard-coded the URL's to these files.
Netsuite has announced a new account-specific URL naming scheme that may break the hard-coded URLs.
(e.g. the login URL changes from
https://system.netsuite.com/app/center/card.nl?sc=-29&whence=
to
https://123456.app.netsuite.com/app/center/card.nl?sc=-29&whence=)
Can anyone help me with a way to create a relative reference to the files in the accounts file cabinet so as to future-proof these links against any other changes?
I also noticed that the URL link to the file cabinet file appears to have parameters identifying the file ("id="), the Netsuite account ID ("c="), and something else ("h="). Can you direct me to documentation on these parameters?
Thank you
Will