Andrew Luke
10/10/2024, 10:01 PMCeligo AI
10/10/2024, 10:01 PMAI generated answer (using internal Slack threads):A reference to the Ext JS library in a script would look like this:
javascript
define(['N/record', 'N/search', 'N/email', '/SuiteScripts/ExtJS.js'], function (record, search, email, ExtJS) {
// Your code here
});
In this example, '/SuiteScripts/ExtJS.js'
is the path to the Ext JS library file that you've uploaded to your file cabinet in NetSuite. The ExtJS
parameter in the function is the reference to the library that you can use in your script.
However, it's important to note that as per the conversations, NetSuite plans to remove support for the Ext JS library by the end of 2024. Therefore, it's recommended to find an alternative library or upload your own version of ext.js to the file cabinet so you can continue using it in your code.
Also, it's mentioned that any code that used Ext JS was questionable in the first place, and you are supposed to license it. Including it can be a pain since it doesn't support AMD JS and you had to use the sandbox versions to avoid conflicting with NetSuite's version.
******
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
10/10/2024, 10:02 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833213329
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818416655
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.808775
Celigo AI
10/10/2024, 10:02 PMShawn Talbert
10/10/2024, 11:07 PMExtJS
in scripts