Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Multiple Library files question
I just uploaded a new .js file that contains SHA hashing functions, and a new SuiteScript file (myContactScript.js) that is triggered when a contact is edited. The User Event script attached to contacts was then updated to add "sha256.js" as a second library, along side 'myLibrary.js'.
When I edit my contact the SuiteScript in both myContactScript and myLibrary seems to work until myContactScript tries to use a function found in sha256.js - and then it reports that 'sha256_digest' is not defined.
From this it seems that the second library file isn't being found/used.
As a test I copied the entire script from sha256.js and pasted it into myLibrary.js, re-edited my contact and everything seemed to work just fine.