I'm using this and I'jm doing this / var dataUrl...
# ask-stanley-ai
f
I'm using this and I'jm doing this / var dataUrl = nlapiGetContext().getSetting('SCRIPT', 'custscript_con_url') + '/nsitems' but I don't have any place to add the custscript_con_url, where should I go ?
c
AI generated answer (using internal Slack threads):
To add the
custscript_con_url
setting, you need to go to the script deployment page in NetSuite. Here are the steps: 1. Navigate to the script record that you're working with. 2. Go to the 'Script Deployments' subtab. 3. Click 'Edit' on the deployment where you want to add the setting. 4. Scroll down to the 'Parameters' subtab. 5. Here, you can add a new parameter. The 'Parameter ID' should be
custscript_con_url
. 6. Set the value of this parameter to the URL you want to append to your data URL. Remember, the parameter ID is case sensitive and should match exactly with the one you're using in your script. ****** 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.830432296
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829170823
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826862216
Please provide your feedback on this answer.