How do i view the script file from a locked bundle
# ask-stanley-ai
a
How do i view the script file from a locked bundle
c
AI generated answer (using internal Slack threads):
****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** To view the script file from a locked bundle, you would need to unlock the file first. However, it's important to note that if a file has been locked and deployed to a client's account, even if you unlock it in your account and update their bundle, it will remain locked in the client's account. If you want to unlock a script that was once locked, you might try downloading the script object using SuiteCloud Development Framework (SDF) and changing the value in the XML before re-deploying. However, this method has not been confirmed and might not work in all cases. If you want to lock your bundle in a specific way where users cannot see or download the code anywhere in the system, but you can replace the script file, you can unlock the script/file in the bundle and add two checkboxes on files 'AVAILABLE FOR SUITEBUNDLES' & 'HIDE IN SUITEBUNDLE'. This way, you can replace the files without viewing them on NetSuite. However, you might still be able to download them if you go to where the files are located. Please note that these methods might not work in all cases and it's always recommended to test them in a safe environment before applying them to your production account.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.860496879
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83876282
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832282245
Please provide your feedback on this answer.