Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
How to create a suitelet script record and script deployment definition in Visual Studio Code
Hello NetSuite Gurus,
I am trying to create a Suitelet script record along with its script deployment definition using SuiteCloud Development Framework (SDF) in Visual Studio Code.
I've reviewed the documentation in Oracle NetSuite (SuiteCloud / SDF tutorials ), but the examples only show how to define a User Event Script record.
For example, I found a sample like this for a User Event Script:
<usereventscript scriptid="customscript_userevent">
<description></description>
<isinactive></isinactive>
<name>SDF Tutorial User Event</name>
<notifyowner>T</notifyowner>
<scriptfile>[/SuiteScripts/UserEventScript.js]</scriptfile>
<scriptdeployments>
<scriptdeployment scriptid="customdeploy_ue_tut">
<isdeployed>T</isdeployed>
<loglevel>DEBUG</loglevel>
<recordtype>[customrecord_tutorial]</recordtype>
0