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>
<status>TESTING</status>
</scriptdeployment>
</scriptdeployments>
</usereventscript>
However, I'm unable to find similar XML tag definitions or examples for other script types such as Suitelet, Restlet, etc.
My questions:
- What is the correct XML structure for defining a Suitelet script record in SDF?
- How should the script deployment be defined for a Suitelet?
- Where can I find official documentation or schema definitions for these script types?
Any guidance or examples would be greatly appreciated.
Thank you!
Diana Le