Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
NSC | Configure Script to Only Run on Record Creation Using the Script Deployment Record
There are many instances where scripts are only intended to run on specific instances. Some developers may have been used to filtering this out using a conditional record for scriptContext.type. But it can also be done using the Script Deployment Record. To do this:
- Open your Script Deployment record in Edit Mode.
- On the Event Type drop-down, select Create.
- Save.
Note: The Event Type field appears on Suitelet, User Event, and record-level Client script deployment pages only.
Important: Event types specified in the UI take precedence over the types specified in the script file. For example, if the create
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see