In SuiteBundles I want to lock my bundle in a spec...
# suitescript
d
In SuiteBundles I want to lock my bundle in a specific way: 1. to lock all files/folders/scripts that the user cannot see the code/download the code anywhere in the system 2. to be able just to replace the script file by edit and not by view the code. (only to choose another file from my pc to replace the current file on the script file record) I know i need to unlock the script/file in the bundle but add two checkboxes on files 'AVAILABLE FOR SUITEBUNDLES' & 'HIDE IN SUITEBUNDLE' So now i can just replace the files and not view them on Netsuite but still I can download them if i go to where the files located. how can i lock that too?
e
Dont believe this is possible Locked = File can't be edited Hidden = File can't be previewed/downloaded Also, a fun "gotcha" of NetSuite is that... If you've locked a file and deployed it to a clients account, even if you unlock it in your account and update their bundle, it will remain locked in the clients account
🙏 1
d
So any idea what to do if i dont want people to view my code?
e
Hide in Suitebundle does that But the tradeoff is... not even you (as the owner of the suitebundle) can edit that file in the clients account You always have to edit the file i*n YOUR account* and then push a bundle update to the client