I have an HTML file that I’m loading in a Suitelet...
# suitescript
t
I have an HTML file that I’m loading in a Suitelet, and I’m trying to link a CSS file that is in the SuiteScripts folder in the File Cabinet but none of the paths that I’m using works. What path do I use?
Copy code
<link rel="stylesheet" type="text/css" href="SuiteScripts/VBC/lib/DataTables/DataTables-1.10.21/css/dataTables.jqueryui.min.css">
<http://scriptlet.nl?script=283&deploy=1:691|scriptlet.nl?script=283&deploy=1:691> GET https://********.<http://app.netsuite.com/app/site/hosting/SuiteScripts/VBC/lib/DataTables/DataTables-1.10.21/css/jquery.dataTables.css|app.netsuite.com/app/site/hosting/SuiteScripts/VBC/lib/DataTables/DataTables-1.10.21/css/jquery.dataTables.css> net::ERR_ABORTED 404
j
You would have to use the URL found on the CSS file in the file cabinet. Or use a CDN URL for the CSS file
t
I’ll give it a shot, thanks @JohnnyC!