3 Tips to Speed Up a Search (SuiteCommerce & SuiteScript)
Both front-end (SuiteCommerce) and back-end (SuiteScripts) code often require searches. Here are three tips on speeding up your searches.
Read the Article
API Secrets are one of the safest ways to store API keys and other secure credentials in NetSuite. They can then be used in SuiteScripts to make authenticated calls. See the simple example below.
function fetchAPISecret() {
return https.createSecureString({
input: '{custsecret_sensepass_api_key}',
});
}SNote: You will not be able to log or read the secret key in your script. But you can assume it is there to be used.
See Create an API Secret in NetSuite for instructions on how to generate an API Secret.
Related Articles
Tagged with Training, Security & Permissions, Integration