darrenhillconsulting
09/15/2024, 5:16 PMCeligo AI
09/15/2024, 5:16 PMAI generated answer (using internal Slack threads):To shim a third-party library into a SuiteApp SDF project, you need to follow these steps: 1. Check if the library supports AMD (Asynchronous Module Definition). This can be done by looking at the source code of the library or going through its documentation. 2. If the library supports AMD, you can set it up after learning how SuiteScript 2.0 Custom Modules work. You can find more information about this in the NetSuite Help Center. 3. If your library has dependencies (jQuery is common for UI libraries), you need to do a require Configuration. This is a way to shim the library. 4. Once you have the library set up and configured, you can include it in your SDF project. If you have multiple objects and scripts that you want to group together, you can put them in a common folder and make that folder the root of your SDF project. Here are the relevant links for your reference: - SuiteScript 2.0 Custom Modules: https://system.netsuite.com/app/help/helpcenter.nl?fid=chapter_4704097697.html - Require Configuration: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4599733337.html ****** 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
09/15/2024, 5:16 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812738419
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.808764458
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.804339
Celigo AI
09/15/2024, 5:16 PM