NetSuite's `record.load` resolving the missing Fil...
# ask-stanley-ai
b
NetSuite's
record.load
resolving the missing File Cabinet asset (
common/css/htmlTable.css
) referenced by the record's default custom form / Print template. How do we you resolve this?
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that the issue of
record.load
not resolving the missing File Cabinet asset (
common/css/htmlTable.css
) referenced by the record's default custom form / Print template can be resolved by correctly referencing the CSS file in the File Cabinet. Here are the steps to resolve this: 1. Upload the CSS file to the File Cabinet in NetSuite. Make sure to set the file to be 'Available Without Login' if you want it to be accessible publicly. 2. Once the file is uploaded, you can get the URL of the file by right-clicking on the file in the File Cabinet and selecting 'Copy URL'. This URL is what you should use to reference the CSS file in your HTML. 3. In your HTML, you can then link to the CSS file like this:
Copy code
html
<link rel="stylesheet" type="text/css" href="URL_OF_YOUR_CSS_FILE">
Replace
URL_OF_YOUR_CSS_FILE
with the URL you copied from the File Cabinet. Please note that the URL should be absolute, not relative. This means it should start with
https://
and not just
/SuiteScripts/...
. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820007324
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812072873
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811828673
Please provide your feedback on this answer.