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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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