D17339
08/22/2024, 2:25 PMCeligo AI
08/22/2024, 2:26 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems that you can make use of the SuiteCloud Development Framework (SDF) and SuiteCloud Node.js CLI to manage script deployments. Here are some steps you can follow: 1. Import the old script record XML into your SDF project. This can be done by setting the script file path directory to the new SuiteScript file in the XML. You can also set the status of the old scripts to 'NOT SCHEDULED' in the XML to undeploy them. Here is an example of how you can do this:
xml
<scriptfile>[/SuiteScripts/{NewFile}.js]</scriptfile>
OR
xml
<status>NOT SCHEDULED</status>
2. If you want to undeploy the old scripts but keep them intact, you can specify the existing script files and scriptId objects within the original scripts. However, you do not need to include them in your SDF project.
3. You can also create and edit script deployments via scripting. This can be useful if you want to deploy a script on a record using a different script. However, you cannot create a deployment, only copy it. The trick is to set the script default value when creating the record.
Please note that these steps require a good understanding of SDF and SuiteScript. If you're still learning, it might take some time to get used to these processes.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
08/22/2024, 2:26 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.809581816
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.80583024
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.805087268
Celigo AI
08/22/2024, 2:26 PM