I am trying to add a script to a custom portlet to display the remaining business days in the month. The script is not the problem, its figuring out how to work with scripts in NetSuite that is holding me up. I have enabled scripting and uploaded the script file. The problem is that I can't get the script to be available to select in the dropdown on the custom portlet setup.
The other part of the process I am wondering about is the deployment. The script is not tied to any type of record in particular. Is it necessary to deploy the script in order to use it? I have tried both ways without success.
If I am missing some part of the process it would be nice to know. None of the combinations I have tried seem to make a difference.